public static interface Cluster.Builder extends 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 |
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 of the cluster's subnets and their corresponding Availability Zones.
|
Cluster.Builder |
vpcId(String vpcId)
The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.
|
copy
applyMutation, build
Cluster.Builder backupPolicy(String backupPolicy)
The cluster's backup policy.
backupPolicy
- The cluster's backup policy.BackupPolicy
,
BackupPolicy
Cluster.Builder backupPolicy(BackupPolicy backupPolicy)
The cluster's backup policy.
backupPolicy
- The cluster's backup policy.BackupPolicy
,
BackupPolicy
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 that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #hsms(List)
.hsms
- a consumer that will call methods on List.Builder
#hsms(List)
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
,
ClusterState
Cluster.Builder state(ClusterState state)
The cluster's state.
state
- The cluster's state.ClusterState
,
ClusterState
Cluster.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 of the cluster's subnets and their corresponding Availability Zones.
subnetMapping
- A map of the cluster's subnets and their corresponding Availability Zones.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 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.Builder
certificates(Certificates)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.