@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class ClusterMetadata extends Object
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 __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ClusterMetadata.Builder |
Constructor and Description |
---|
ClusterMetadata(Date timeCreated,
String createdByUserId,
String createdByWorkRequestId,
Date timeDeleted,
String deletedByUserId,
String deletedByWorkRequestId,
Date timeUpdated,
String updatedByUserId,
String updatedByWorkRequestId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ClusterMetadata.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
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 |
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() |
String |
toString() |
@ConstructorProperties(value={"timeCreated","createdByUserId","createdByWorkRequestId","timeDeleted","deletedByUserId","deletedByWorkRequestId","timeUpdated","updatedByUserId","updatedByWorkRequestId"}) @Deprecated public ClusterMetadata(Date timeCreated, String createdByUserId, String createdByWorkRequestId, Date timeDeleted, String deletedByUserId, String deletedByWorkRequestId, Date timeUpdated, String updatedByUserId, String updatedByWorkRequestId)
public static ClusterMetadata.Builder builder()
Create a new builder.
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.
Copyright © 2016–2020. All rights reserved.