Class EncryptionReportPolicyDetails
- java.lang.Object
-
- odata.msgraph.client.beta.complex.EncryptionReportPolicyDetails
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class EncryptionReportPolicyDetails extends Object implements com.github.davidmoten.odata.client.ODataType
“Policy Details for Encryption Report”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEncryptionReportPolicyDetails.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected StringpolicyIdprotected StringpolicyNameprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedEncryptionReportPolicyDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionReportPolicyDetails.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getPolicyId()“Policy Id for Encryption Report”Optional<String>getPolicyName()“Policy Name for Encryption Report”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()EncryptionReportPolicyDetailswithPolicyId(String policyId)Returns an immutable copy ofthiswith just thepolicyIdfield changed.EncryptionReportPolicyDetailswithPolicyName(String policyName)Returns an immutable copy ofthiswith just thepolicyNamefield changed.EncryptionReportPolicyDetailswithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
policyId
protected String policyId
-
policyName
protected String policyName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getPolicyId
public Optional<String> getPolicyId()
“Policy Id for Encryption Report”- Returns:
- property policyId
-
withPolicyId
public EncryptionReportPolicyDetails withPolicyId(String policyId)
Returns an immutable copy ofthiswith just thepolicyIdfield 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.“Policy Id for Encryption Report”
- Parameters:
policyId- new value ofpolicyIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepolicyIdfield changed
-
getPolicyName
public Optional<String> getPolicyName()
“Policy Name for Encryption Report”- Returns:
- property policyName
-
withPolicyName
public EncryptionReportPolicyDetails withPolicyName(String policyName)
Returns an immutable copy ofthiswith just thepolicyNamefield 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.“Policy Name for Encryption Report”
- Parameters:
policyName- new value ofpolicyNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepolicyNamefield changed
-
withUnmappedField
public EncryptionReportPolicyDetails withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static EncryptionReportPolicyDetails.Builder builder()
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
-
-