@Generated(value="software.amazon.awssdk:codegen") public final class Cluster extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Cluster.Builder,Cluster>
Contains information about an AWS CloudHSM cluster.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Cluster.Builder |
| Modifier and Type | Method and Description |
|---|---|
BackupPolicy |
backupPolicy()
The cluster's backup policy.
|
String |
backupPolicyAsString()
The cluster's backup policy.
|
BackupRetentionPolicy |
backupRetentionPolicy()
A policy that defines how the service retains backups.
|
static Cluster.Builder |
builder() |
Certificates |
certificates()
Contains one or more certificates or a certificate signing request (CSR).
|
String |
clusterId()
The cluster's identifier (ID).
|
Instant |
createTimestamp()
The date and time when the cluster was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasHsms()
Returns true if the Hsms property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
boolean |
hasSubnetMapping()
Returns true if the SubnetMapping property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasTagList()
Returns true if the TagList property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<Hsm> |
hsms()
Contains information about the HSMs in the cluster.
|
String |
hsmType()
The type of HSM that the cluster contains.
|
String |
preCoPassword()
The default password for the cluster's Pre-Crypto Officer (PRECO) user.
|
List<SdkField<?>> |
sdkFields() |
String |
securityGroup()
The identifier (ID) of the cluster's security group.
|
static Class<? extends Cluster.Builder> |
serializableBuilderClass() |
String |
sourceBackupId()
The identifier (ID) of the backup used to create the cluster.
|
ClusterState |
state()
The cluster's state.
|
String |
stateAsString()
The cluster's state.
|
String |
stateMessage()
A description of the cluster's state.
|
Map<String,String> |
subnetMapping()
A map from availability zone to the cluster’s subnet in that availability zone.
|
List<Tag> |
tagList()
The list of tags for the cluster.
|
Cluster.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final BackupPolicy backupPolicy()
The cluster's backup policy.
If the service returns an enum value that is not available in the current SDK version, backupPolicy will
return BackupPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
backupPolicyAsString().
BackupPolicypublic final String backupPolicyAsString()
The cluster's backup policy.
If the service returns an enum value that is not available in the current SDK version, backupPolicy will
return BackupPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
backupPolicyAsString().
BackupPolicypublic final BackupRetentionPolicy backupRetentionPolicy()
A policy that defines how the service retains backups.
public final String clusterId()
The cluster's identifier (ID).
public final Instant createTimestamp()
The date and time when the cluster was created.
public final boolean hasHsms()
public final List<Hsm> hsms()
Contains information about the HSMs in the cluster.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasHsms() to see if a value was sent in this field.
public final String hsmType()
The type of HSM that the cluster contains.
public final String preCoPassword()
The default password for the cluster's Pre-Crypto Officer (PRECO) user.
public final String securityGroup()
The identifier (ID) of the cluster's security group.
public final String sourceBackupId()
The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.
public final ClusterState state()
The cluster's state.
If the service returns an enum value that is not available in the current SDK version, state will return
ClusterState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ClusterStatepublic final String stateAsString()
The cluster's state.
If the service returns an enum value that is not available in the current SDK version, state will return
ClusterState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ClusterStatepublic final String stateMessage()
A description of the cluster's state.
public final boolean hasSubnetMapping()
public final Map<String,String> subnetMapping()
A map from availability zone to the cluster’s subnet in that availability zone.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSubnetMapping() to see if a value was sent in this field.
public final String vpcId()
The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.
public final Certificates certificates()
Contains one or more certificates or a certificate signing request (CSR).
public final boolean hasTagList()
public final List<Tag> tagList()
The list of tags for the cluster.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTagList() to see if a value was sent in this field.
public Cluster.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Cluster.Builder,Cluster>public static Cluster.Builder builder()
public static Class<? extends Cluster.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.