Class ComplianceDocument


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200131")
    public final class ComplianceDocument
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    A compliance document that exists in the tenancy.
    Note: Objects should always be created or deserialized using the ComplianceDocument.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 the ComplianceDocument.Builder, which maintain a set of all explicitly set fields called ComplianceDocument.Builder.__explicitlySet__. The hashCode() and equals(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).
    • Method Detail

      • 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
      • 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:
        toString in class com.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:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel