Package com.oracle.bmc.cloudguard.model
Class ComplianceDocumentSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudguard.model.ComplianceDocumentSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class ComplianceDocumentSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA summary representation of the compliance document.
Note: Objects should always be created or deserialized using theComplianceDocumentSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theComplianceDocumentSummary.Builder, which maintain a set of all explicitly set fields calledComplianceDocumentSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComplianceDocumentSummary.Builder
-
Constructor Summary
Constructors Constructor Description ComplianceDocumentSummary(String id, String name, Date timeCreated, ComplianceDocument.LifecycleState lifecycleState, String documentFileName, Integer version, String type, String platform, Date timeUpdated, String saasServiceName, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComplianceDocumentSummary.Builderbuilder()Create a new builder.booleanequals(Object o)Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDocumentFileName()The file name of the compliance document.Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.StringgetId()A unique identifier for the document that is assigned when you create the document as an Oracle Cloud Infrastructure resource and is immutable.ComplianceDocument.LifecycleStategetLifecycleState()The current lifecycle state of the compliance document.StringgetName()A friendly name or title for the compliance document.StringgetPlatform()The environment, also known as platform or business pillar, to which the compliance document belongs.StringgetSaasServiceName()The saas service name to which compliance document belongs.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.DategetTimeCreated()The date and time the compliance document was created, expressed in RFC 3339 timestamp format.DategetTimeUpdated()The date and time the compliance document was last updated, expressed in RFC 3339 timestamp format.StringgetType()The type of compliance document.IntegergetVersion()The version number of the compliance document.inthashCode()ComplianceDocumentSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ComplianceDocumentSummary
@Deprecated @ConstructorProperties({"id","name","timeCreated","lifecycleState","documentFileName","version","type","platform","timeUpdated","saasServiceName","freeformTags","definedTags","systemTags"}) public ComplianceDocumentSummary(String id, String name, Date timeCreated, ComplianceDocument.LifecycleState lifecycleState, String documentFileName, Integer version, String type, String platform, Date timeUpdated, String saasServiceName, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static ComplianceDocumentSummary.Builder builder()
Create a new builder.
-
toBuilder
public ComplianceDocumentSummary.Builder toBuilder()
-
getId
public String getId()
A unique identifier for the document that is assigned when you create the document as an Oracle Cloud Infrastructure resource and is immutable.- Returns:
- the value
-
getName
public String getName()
A friendly name or title for the compliance document.You cannot update this value later. Avoid entering confidential information.
- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the compliance document was created, expressed in RFC 3339 timestamp format.- Returns:
- the value
-
getLifecycleState
public ComplianceDocument.LifecycleState getLifecycleState()
The current lifecycle state of the compliance document.- Returns:
- the value
-
getDocumentFileName
public String getDocumentFileName()
The file name of the compliance document.- Returns:
- the value
-
getVersion
public Integer getVersion()
The version number of the compliance document.- Returns:
- the value
-
getType
public String getType()
The type of compliance document.- Returns:
- the value
-
getPlatform
public String getPlatform()
The environment, also known as platform or business pillar, to which the compliance document belongs.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time the compliance document was last updated, expressed in RFC 3339 timestamp format.- Returns:
- the value
-
getSaasServiceName
public String getSaasServiceName()
The saas service name to which compliance document belongs.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Avoid entering confidential information.
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-