public class SecurityBaselineSettingState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityBaselineSettingState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
settingCategoryId |
protected String |
settingName |
protected SecurityBaselineComplianceState |
state |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SecurityBaselineSettingState() |
| Modifier and Type | Method and Description |
|---|---|
static SecurityBaselineSettingState.Builder |
builderSecurityBaselineSettingState()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getSettingCategoryId()
“The setting category id which this setting belongs to”
|
Optional<String> |
getSettingName()
“The setting name that is being reported”
|
Optional<SecurityBaselineComplianceState> |
getState()
“The compliance state of the security baseline setting”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
SecurityBaselineSettingState |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SecurityBaselineSettingState |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SecurityBaselineSettingState |
withSettingCategoryId(String settingCategoryId)
Returns an immutable copy of
this with just the settingCategoryId
field changed. |
SecurityBaselineSettingState |
withSettingName(String settingName)
Returns an immutable copy of
this with just the settingName
field changed. |
SecurityBaselineSettingState |
withState(SecurityBaselineComplianceState state)
Returns an immutable copy of
this with just the state field
changed. |
protected String settingName
protected SecurityBaselineComplianceState state
protected String settingCategoryId
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SecurityBaselineSettingState.Builder builderSecurityBaselineSettingState()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getSettingName()
public SecurityBaselineSettingState withSettingName(String settingName)
this with just the settingName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The setting name that is being reported”
settingName - new value of settingName field (as defined in service metadata)this with just the settingName field changedpublic Optional<SecurityBaselineComplianceState> getState()
public SecurityBaselineSettingState withState(SecurityBaselineComplianceState state)
this with just the state field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The compliance state of the security baseline setting”
state - new value of state field (as defined in service metadata)this with just the state field changedpublic Optional<String> getSettingCategoryId()
public SecurityBaselineSettingState withSettingCategoryId(String settingCategoryId)
this with just the settingCategoryId
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The setting category id which this setting belongs to”
settingCategoryId - new value of settingCategoryId field (as defined in service metadata)this with just the settingCategoryId field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic SecurityBaselineSettingState patch()
this with changed fields reset.public SecurityBaselineSettingState put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.