Class ClusterMetadata
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.containerengine.model.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 theClusterMetadata.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 theClusterMetadata.Builder
, which maintain a set of all explicitly set fields calledClusterMetadata.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 class
ClusterMetadata.Builder
-
Constructor Summary
Constructors Constructor Description ClusterMetadata(Date timeCreated, String createdByUserId, String createdByWorkRequestId, Date timeDeleted, String deletedByUserId, String deletedByWorkRequestId, Date timeUpdated, String updatedByUserId, String updatedByWorkRequestId, Date timeCredentialExpiration)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterMetadata.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCreatedByUserId()
The user who created the cluster.String
getCreatedByWorkRequestId()
The OCID of the work request which created the cluster.String
getDeletedByUserId()
The user who deleted the cluster.String
getDeletedByWorkRequestId()
The OCID of the work request which deleted the cluster.Date
getTimeCreated()
The time the cluster was created.Date
getTimeCredentialExpiration()
The time until which the cluster credential is valid.Date
getTimeDeleted()
The time the cluster was deleted.Date
getTimeUpdated()
The time the cluster was updated.String
getUpdatedByUserId()
The user who updated the cluster.String
getUpdatedByWorkRequestId()
The OCID of the work request which updated the cluster.int
hashCode()
ClusterMetadata.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
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
-
builder
public static ClusterMetadata.Builder builder()
Create a new builder.
-
toBuilder
public ClusterMetadata.Builder toBuilder()
-
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 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-