Package com.oracle.bmc.cloudguard.model
Class ComplianceDocument
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudguard.model.ComplianceDocument
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class ComplianceDocument extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA compliance document that exists in the tenancy.
Note: Objects should always be created or deserialized using theComplianceDocument.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 theComplianceDocument.Builder, which maintain a set of all explicitly set fields calledComplianceDocument.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 classComplianceDocument.Builderstatic classComplianceDocument.LifecycleStateThe current lifecycle state of the compliance document.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComplianceDocument.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDocumentFileName()The file name of the compliance document.StringgetId()The OCID of the compliance document, which 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 information technology infrastructure platform, or set of services, to which the compliance document belongs.StringgetSaasServiceName()The saas service name to which compliance document belongs.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()ComplianceDocument.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ComplianceDocument
@Deprecated @ConstructorProperties({"id","name","timeCreated","lifecycleState","documentFileName","version","type","platform","timeUpdated","saasServiceName"}) public ComplianceDocument(String id, String name, Date timeCreated, ComplianceDocument.LifecycleState lifecycleState, String documentFileName, Integer version, String type, String platform, Date timeUpdated, String saasServiceName)
Deprecated.
-
-
Method Detail
-
builder
public static ComplianceDocument.Builder builder()
Create a new builder.
-
toBuilder
public ComplianceDocument.Builder toBuilder()
-
getId
public String getId()
The OCID of the compliance document, which 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.For definitions of supported types of compliance documents, see Types of Compliance Documents.
- Returns:
- the value
-
getPlatform
public String getPlatform()
The information technology infrastructure platform, or set of services, to which the compliance document belongs.A platform can also be described as an environment or a business pillar. For definitions of supported environments, see Types of Environments.
- 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.For other types such as ‘OCI’ / ‘PaaS’ this value will be null.
- 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
-
-