Package odata.msgraph.client.beta.entity
Class SecurityBaselineSettingState
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.SecurityBaselineSettingState
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SecurityBaselineSettingState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The security baseline compliance state of a setting for a device”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecurityBaselineSettingState.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<SecurityBaselineContributingPolicy>contributingPoliciesprotected StringcontributingPoliciesNextLinkprotected StringerrorCodeprotected StringsettingCategoryIdprotected StringsettingCategoryNameprotected StringsettingIdprotected StringsettingNameprotected List<SettingSource>sourcePoliciesprotected StringsourcePoliciesNextLinkprotected SecurityBaselineComplianceStatestate-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSecurityBaselineSettingState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityBaselineSettingState.BuilderbuilderSecurityBaselineSettingState()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.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<SecurityBaselineContributingPolicy>getContributingPolicies()“The policies that contribute to this setting instance”com.github.davidmoten.odata.client.CollectionPage<SecurityBaselineContributingPolicy>getContributingPolicies(com.github.davidmoten.odata.client.HttpRequestOptions options)“The policies that contribute to this setting instance”Optional<String>getErrorCode()“The error code if the setting is in error state”Optional<String>getSettingCategoryId()“The setting category id which this setting belongs to”Optional<String>getSettingCategoryName()“The setting category name which this setting belongs to”Optional<String>getSettingId()“The setting id guid”Optional<String>getSettingName()“The setting name that is being reported”com.github.davidmoten.odata.client.CollectionPage<SettingSource>getSourcePolicies()“The policies that contribute to this setting instance”com.github.davidmoten.odata.client.CollectionPage<SettingSource>getSourcePolicies(com.github.davidmoten.odata.client.HttpRequestOptions options)“The policies that contribute to this setting instance”Optional<SecurityBaselineComplianceState>getState()“The compliance state of the security baseline setting”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()SecurityBaselineSettingStatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SecurityBaselineSettingStateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SecurityBaselineSettingStatewithContributingPolicies(List<SecurityBaselineContributingPolicy> contributingPolicies)Returns an immutable copy ofthiswith just thecontributingPoliciesfield changed.SecurityBaselineSettingStatewithErrorCode(String errorCode)Returns an immutable copy ofthiswith just theerrorCodefield changed.SecurityBaselineSettingStatewithSettingCategoryId(String settingCategoryId)Returns an immutable copy ofthiswith just thesettingCategoryIdfield changed.SecurityBaselineSettingStatewithSettingCategoryName(String settingCategoryName)Returns an immutable copy ofthiswith just thesettingCategoryNamefield changed.SecurityBaselineSettingStatewithSettingId(String settingId)Returns an immutable copy ofthiswith just thesettingIdfield changed.SecurityBaselineSettingStatewithSettingName(String settingName)Returns an immutable copy ofthiswith just thesettingNamefield changed.SecurityBaselineSettingStatewithSourcePolicies(List<SettingSource> sourcePolicies)Returns an immutable copy ofthiswith just thesourcePoliciesfield changed.SecurityBaselineSettingStatewithState(SecurityBaselineComplianceState state)Returns an immutable copy ofthiswith just thestatefield changed.SecurityBaselineSettingStatewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contributingPolicies
protected List<SecurityBaselineContributingPolicy> contributingPolicies
-
contributingPoliciesNextLink
protected String contributingPoliciesNextLink
-
errorCode
protected String errorCode
-
settingCategoryId
protected String settingCategoryId
-
settingCategoryName
protected String settingCategoryName
-
settingId
protected String settingId
-
settingName
protected String settingName
-
sourcePolicies
protected List<SettingSource> sourcePolicies
-
sourcePoliciesNextLink
protected String sourcePoliciesNextLink
-
state
protected SecurityBaselineComplianceState state
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSecurityBaselineSettingState
public static SecurityBaselineSettingState.Builder builderSecurityBaselineSettingState()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getContributingPolicies
public com.github.davidmoten.odata.client.CollectionPage<SecurityBaselineContributingPolicy> getContributingPolicies()
“The policies that contribute to this setting instance”- Returns:
- property contributingPolicies
-
withContributingPolicies
public SecurityBaselineSettingState withContributingPolicies(List<SecurityBaselineContributingPolicy> contributingPolicies)
Returns an immutable copy ofthiswith just thecontributingPoliciesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The policies that contribute to this setting instance”
- Parameters:
contributingPolicies- new value ofcontributingPoliciesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecontributingPoliciesfield changed
-
getContributingPolicies
public com.github.davidmoten.odata.client.CollectionPage<SecurityBaselineContributingPolicy> getContributingPolicies(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The policies that contribute to this setting instance”- Parameters:
options- specify connect and read timeouts- Returns:
- property contributingPolicies
-
getErrorCode
public Optional<String> getErrorCode()
“The error code if the setting is in error state”- Returns:
- property errorCode
-
withErrorCode
public SecurityBaselineSettingState withErrorCode(String errorCode)
Returns an immutable copy ofthiswith just theerrorCodefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The error code if the setting is in error state”
- Parameters:
errorCode- new value oferrorCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorCodefield changed
-
getSettingCategoryId
public Optional<String> getSettingCategoryId()
“The setting category id which this setting belongs to”- Returns:
- property settingCategoryId
-
withSettingCategoryId
public SecurityBaselineSettingState withSettingCategoryId(String settingCategoryId)
Returns an immutable copy ofthiswith just thesettingCategoryIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The setting category id which this setting belongs to”
- Parameters:
settingCategoryId- new value ofsettingCategoryIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingCategoryIdfield changed
-
getSettingCategoryName
public Optional<String> getSettingCategoryName()
“The setting category name which this setting belongs to”- Returns:
- property settingCategoryName
-
withSettingCategoryName
public SecurityBaselineSettingState withSettingCategoryName(String settingCategoryName)
Returns an immutable copy ofthiswith just thesettingCategoryNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The setting category name which this setting belongs to”
- Parameters:
settingCategoryName- new value ofsettingCategoryNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingCategoryNamefield changed
-
getSettingId
public Optional<String> getSettingId()
“The setting id guid”- Returns:
- property settingId
-
withSettingId
public SecurityBaselineSettingState withSettingId(String settingId)
Returns an immutable copy ofthiswith just thesettingIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The setting id guid”
- Parameters:
settingId- new value ofsettingIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingIdfield changed
-
getSettingName
public Optional<String> getSettingName()
“The setting name that is being reported”- Returns:
- property settingName
-
withSettingName
public SecurityBaselineSettingState withSettingName(String settingName)
Returns an immutable copy ofthiswith just thesettingNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The setting name that is being reported”
- Parameters:
settingName- new value ofsettingNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingNamefield changed
-
getSourcePolicies
public com.github.davidmoten.odata.client.CollectionPage<SettingSource> getSourcePolicies()
“The policies that contribute to this setting instance”- Returns:
- property sourcePolicies
-
withSourcePolicies
public SecurityBaselineSettingState withSourcePolicies(List<SettingSource> sourcePolicies)
Returns an immutable copy ofthiswith just thesourcePoliciesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The policies that contribute to this setting instance”
- Parameters:
sourcePolicies- new value ofsourcePoliciesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesourcePoliciesfield changed
-
getSourcePolicies
public com.github.davidmoten.odata.client.CollectionPage<SettingSource> getSourcePolicies(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The policies that contribute to this setting instance”- Parameters:
options- specify connect and read timeouts- Returns:
- property sourcePolicies
-
getState
public Optional<SecurityBaselineComplianceState> getState()
“The compliance state of the security baseline setting”- Returns:
- property state
-
withState
public SecurityBaselineSettingState withState(SecurityBaselineComplianceState state)
Returns an immutable copy ofthiswith just thestatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The compliance state of the security baseline setting”
- Parameters:
state- new value ofstatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatefield changed
-
withUnmappedField
public SecurityBaselineSettingState withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public SecurityBaselineSettingState patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SecurityBaselineSettingState put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-