Class ClusterMetadata


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20180222")
    public final class ClusterMetadata
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The properties that define meta data for a cluster.
    Note: Objects should always be created or deserialized using the ClusterMetadata.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 ClusterMetadata.Builder, which maintain a set of all explicitly set fields called ClusterMetadata.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).
    • Constructor Detail

      • ClusterMetadata

        @Deprecated
        @ConstructorProperties({"timeCreated","createdByUserId","createdByWorkRequestId","timeDeleted","deletedByUserId","deletedByWorkRequestId","timeUpdated","updatedByUserId","updatedByWorkRequestId","timeCredentialExpiration"})
        public ClusterMetadata​(Date timeCreated,
                               String createdByUserId,
                               String createdByWorkRequestId,
                               Date timeDeleted,
                               String deletedByUserId,
                               String deletedByWorkRequestId,
                               Date timeUpdated,
                               String updatedByUserId,
                               String updatedByWorkRequestId,
                               Date timeCredentialExpiration)
        Deprecated.
    • Method Detail

      • getTimeCreated

        public Date getTimeCreated()
        The time the cluster was created.
        Returns:
        the value
      • getCreatedByUserId

        public String getCreatedByUserId()
        The user who created the cluster.
        Returns:
        the value
      • getCreatedByWorkRequestId

        public String getCreatedByWorkRequestId()
        The OCID of the work request which created the cluster.
        Returns:
        the value
      • getTimeDeleted

        public Date getTimeDeleted()
        The time the cluster was deleted.
        Returns:
        the value
      • getDeletedByUserId

        public String getDeletedByUserId()
        The user who deleted the cluster.
        Returns:
        the value
      • getDeletedByWorkRequestId

        public String getDeletedByWorkRequestId()
        The OCID of the work request which deleted the cluster.
        Returns:
        the value
      • getTimeUpdated

        public Date getTimeUpdated()
        The time the cluster was updated.
        Returns:
        the value
      • getUpdatedByUserId

        public String getUpdatedByUserId()
        The user who updated the cluster.
        Returns:
        the value
      • getUpdatedByWorkRequestId

        public String getUpdatedByWorkRequestId()
        The OCID of the work request which updated the cluster.
        Returns:
        the value
      • getTimeCredentialExpiration

        public Date getTimeCredentialExpiration()
        The time until which the cluster credential is valid.
        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