public static interface Cluster.Builder extends SdkPojo, CopyableBuilder<Cluster.Builder,Cluster>
| Modifier and Type | Method and Description |
|---|---|
Cluster.Builder |
backupPolicy(BackupPolicy backupPolicy)
The cluster's backup policy.
|
Cluster.Builder |
backupPolicy(String backupPolicy)
The cluster's backup policy.
|
Cluster.Builder |
backupRetentionPolicy(BackupRetentionPolicy backupRetentionPolicy)
A policy that defines how the service retains backups.
|
default Cluster.Builder |
backupRetentionPolicy(Consumer<BackupRetentionPolicy.Builder> backupRetentionPolicy)
A policy that defines how the service retains backups.
|
Cluster.Builder |
certificates(Certificates certificates)
Contains one or more certificates or a certificate signing request (CSR).
|
default Cluster.Builder |
certificates(Consumer<Certificates.Builder> certificates)
Contains one or more certificates or a certificate signing request (CSR).
|
Cluster.Builder |
clusterId(String clusterId)
The cluster's identifier (ID).
|
Cluster.Builder |
createTimestamp(Instant createTimestamp)
The date and time when the cluster was created.
|
Cluster.Builder |
hsms(Collection<Hsm> hsms)
Contains information about the HSMs in the cluster.
|
Cluster.Builder |
hsms(Consumer<Hsm.Builder>... hsms)
Contains information about the HSMs in the cluster.
|
Cluster.Builder |
hsms(Hsm... hsms)
Contains information about the HSMs in the cluster.
|
Cluster.Builder |
hsmType(String hsmType)
The type of HSM that the cluster contains.
|
Cluster.Builder |
preCoPassword(String preCoPassword)
The default password for the cluster's Pre-Crypto Officer (PRECO) user.
|
Cluster.Builder |
securityGroup(String securityGroup)
The identifier (ID) of the cluster's security group.
|
Cluster.Builder |
sourceBackupId(String sourceBackupId)
The identifier (ID) of the backup used to create the cluster.
|
Cluster.Builder |
state(ClusterState state)
The cluster's state.
|
Cluster.Builder |
state(String state)
The cluster's state.
|
Cluster.Builder |
stateMessage(String stateMessage)
A description of the cluster's state.
|
Cluster.Builder |
subnetMapping(Map<String,String> subnetMapping)
A map from availability zone to the cluster’s subnet in that availability zone.
|
Cluster.Builder |
tagList(Collection<Tag> tagList)
The list of tags for the cluster.
|
Cluster.Builder |
tagList(Consumer<Tag.Builder>... tagList)
The list of tags for the cluster.
|
Cluster.Builder |
tagList(Tag... tagList)
The list of tags for the cluster.
|
Cluster.Builder |
vpcId(String vpcId)
The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCluster.Builder backupPolicy(String backupPolicy)
The cluster's backup policy.
backupPolicy - The cluster's backup policy.BackupPolicy,
BackupPolicyCluster.Builder backupPolicy(BackupPolicy backupPolicy)
The cluster's backup policy.
backupPolicy - The cluster's backup policy.BackupPolicy,
BackupPolicyCluster.Builder backupRetentionPolicy(BackupRetentionPolicy backupRetentionPolicy)
A policy that defines how the service retains backups.
backupRetentionPolicy - A policy that defines how the service retains backups.default Cluster.Builder backupRetentionPolicy(Consumer<BackupRetentionPolicy.Builder> backupRetentionPolicy)
A policy that defines how the service retains backups.
This is a convenience method that creates an instance of theBackupRetentionPolicy.Builder avoiding
the need to create one manually via BackupRetentionPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to backupRetentionPolicy(BackupRetentionPolicy).
backupRetentionPolicy - a consumer that will call methods on BackupRetentionPolicy.BuilderbackupRetentionPolicy(BackupRetentionPolicy)Cluster.Builder clusterId(String clusterId)
The cluster's identifier (ID).
clusterId - The cluster's identifier (ID).Cluster.Builder createTimestamp(Instant createTimestamp)
The date and time when the cluster was created.
createTimestamp - The date and time when the cluster was created.Cluster.Builder hsms(Collection<Hsm> hsms)
Contains information about the HSMs in the cluster.
hsms - Contains information about the HSMs in the cluster.Cluster.Builder hsms(Hsm... hsms)
Contains information about the HSMs in the cluster.
hsms - Contains information about the HSMs in the cluster.Cluster.Builder hsms(Consumer<Hsm.Builder>... hsms)
Contains information about the HSMs in the cluster.
This is a convenience method that creates an instance of theHsm.Builder avoiding the need to create one manually
via Hsm.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #hsms(List.
hsms - a consumer that will call methods on
Hsm.Builder#hsms(java.util.Collection) Cluster.Builder hsmType(String hsmType)
The type of HSM that the cluster contains.
hsmType - The type of HSM that the cluster contains.Cluster.Builder preCoPassword(String preCoPassword)
The default password for the cluster's Pre-Crypto Officer (PRECO) user.
preCoPassword - The default password for the cluster's Pre-Crypto Officer (PRECO) user.Cluster.Builder securityGroup(String securityGroup)
The identifier (ID) of the cluster's security group.
securityGroup - The identifier (ID) of the cluster's security group.Cluster.Builder sourceBackupId(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.
sourceBackupId - The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster
was created from a backup.Cluster.Builder state(String state)
The cluster's state.
state - The cluster's state.ClusterState,
ClusterStateCluster.Builder state(ClusterState state)
The cluster's state.
state - The cluster's state.ClusterState,
ClusterStateCluster.Builder stateMessage(String stateMessage)
A description of the cluster's state.
stateMessage - A description of the cluster's state.Cluster.Builder subnetMapping(Map<String,String> subnetMapping)
A map from availability zone to the cluster’s subnet in that availability zone.
subnetMapping - A map from availability zone to the cluster’s subnet in that availability zone.Cluster.Builder vpcId(String vpcId)
The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.
vpcId - The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.Cluster.Builder certificates(Certificates certificates)
Contains one or more certificates or a certificate signing request (CSR).
certificates - Contains one or more certificates or a certificate signing request (CSR).default Cluster.Builder certificates(Consumer<Certificates.Builder> certificates)
Contains one or more certificates or a certificate signing request (CSR).
This is a convenience method that creates an instance of theCertificates.Builder avoiding the need
to create one manually via Certificates.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to certificates(Certificates).
certificates - a consumer that will call methods on Certificates.Buildercertificates(Certificates)Cluster.Builder tagList(Collection<Tag> tagList)
The list of tags for the cluster.
tagList - The list of tags for the cluster.Cluster.Builder tagList(Tag... tagList)
The list of tags for the cluster.
tagList - The list of tags for the cluster.Cluster.Builder tagList(Consumer<Tag.Builder>... tagList)
The list of tags for the cluster.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tagList(List.
tagList - a consumer that will call methods on
Tag.Builder#tagList(java.util.Collection) Copyright © 2023. All rights reserved.