@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
).
Modifier and Type | Class and Description |
---|---|
static class |
ClusterMetadata.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ClusterMetadata(Date timeCreated,
String createdByUserId,
String createdByWorkRequestId,
Date timeDeleted,
String deletedByUserId,
String deletedByWorkRequestId,
Date timeUpdated,
String updatedByUserId,
String updatedByWorkRequestId,
Date timeCredentialExpiration)
Deprecated.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static ClusterMetadata.Builder builder()
Create a new builder.
public ClusterMetadata.Builder toBuilder()
public Date getTimeCreated()
The time the cluster was created.
public String getCreatedByUserId()
The user who created the cluster.
public String getCreatedByWorkRequestId()
The OCID of the work request which created the cluster.
public Date getTimeDeleted()
The time the cluster was deleted.
public String getDeletedByUserId()
The user who deleted the cluster.
public String getDeletedByWorkRequestId()
The OCID of the work request which deleted the cluster.
public Date getTimeUpdated()
The time the cluster was updated.
public String getUpdatedByUserId()
The user who updated the cluster.
public String getUpdatedByWorkRequestId()
The OCID of the work request which updated the cluster.
public Date getTimeCredentialExpiration()
The time until which the cluster credential is valid.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.