Interface Cluster.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Cluster.Builder,
,Cluster> SdkBuilder<Cluster.Builder,
,Cluster> SdkPojo
- Enclosing class:
Cluster
-
Method Summary
Modifier and TypeMethodDescriptionadminUserName
(String adminUserName) The name of the elastic cluster administrator.The authentication type for the elastic cluster.The authentication type for the elastic cluster.backupRetentionPeriod
(Integer backupRetentionPeriod) The number of days for which automatic snapshots are retained.clusterArn
(String clusterArn) The ARN identifier of the elastic cluster.clusterEndpoint
(String clusterEndpoint) The URL used to connect to the elastic cluster.clusterName
(String clusterName) The name of the elastic cluster.createTime
(String createTime) The time when the elastic cluster was created in Universal Coordinated Time (UTC).The KMS key identifier to use to encrypt the elastic cluster.preferredBackupWindow
(String preferredBackupWindow) The daily time range during which automated backups are created if automated backups are enabled, as determined bybackupRetentionPeriod
.preferredMaintenanceWindow
(String preferredMaintenanceWindow) The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).shardCapacity
(Integer shardCapacity) The number of vCPUs assigned to each elastic cluster shard.shardCount
(Integer shardCount) The number of shards assigned to the elastic cluster.shardInstanceCount
(Integer shardInstanceCount) The number of replica instances applying to all shards in the cluster.shards
(Collection<Shard> shards) The total number of shards in the cluster.shards
(Consumer<Shard.Builder>... shards) The total number of shards in the cluster.The total number of shards in the cluster.The status of the elastic cluster.The status of the elastic cluster.The Amazon EC2 subnet IDs for the elastic cluster.subnetIds
(Collection<String> subnetIds) The Amazon EC2 subnet IDs for the elastic cluster.vpcSecurityGroupIds
(String... vpcSecurityGroupIds) A list of EC2 VPC security groups associated with thie elastic cluster.vpcSecurityGroupIds
(Collection<String> vpcSecurityGroupIds) A list of EC2 VPC security groups associated with thie elastic cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
adminUserName
The name of the elastic cluster administrator.
- Parameters:
adminUserName
- The name of the elastic cluster administrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authType
The authentication type for the elastic cluster.
- Parameters:
authType
- The authentication type for the elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authType
The authentication type for the elastic cluster.
- Parameters:
authType
- The authentication type for the elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
backupRetentionPeriod
The number of days for which automatic snapshots are retained.
- Parameters:
backupRetentionPeriod
- The number of days for which automatic snapshots are retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterArn
The ARN identifier of the elastic cluster.
- Parameters:
clusterArn
- The ARN identifier of the elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterEndpoint
The URL used to connect to the elastic cluster.
- Parameters:
clusterEndpoint
- The URL used to connect to the elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterName
The name of the elastic cluster.
- Parameters:
clusterName
- The name of the elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time when the elastic cluster was created in Universal Coordinated Time (UTC).
- Parameters:
createTime
- The time when the elastic cluster was created in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The KMS key identifier to use to encrypt the elastic cluster.
- Parameters:
kmsKeyId
- The KMS key identifier to use to encrypt the elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredBackupWindow
The daily time range during which automated backups are created if automated backups are enabled, as determined by
backupRetentionPeriod
.- Parameters:
preferredBackupWindow
- The daily time range during which automated backups are created if automated backups are enabled, as determined bybackupRetentionPeriod
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredMaintenanceWindow
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format:
ddd:hh24:mi-ddd:hh24:mi
- Parameters:
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).Format:
ddd:hh24:mi-ddd:hh24:mi
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shardCapacity
The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.
- Parameters:
shardCapacity
- The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shardCount
The number of shards assigned to the elastic cluster. Maximum is 32.
- Parameters:
shardCount
- The number of shards assigned to the elastic cluster. Maximum is 32.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shardInstanceCount
The number of replica instances applying to all shards in the cluster. A
shardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.- Parameters:
shardInstanceCount
- The number of replica instances applying to all shards in the cluster. AshardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shards
The total number of shards in the cluster.
- Parameters:
shards
- The total number of shards in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shards
The total number of shards in the cluster.
- Parameters:
shards
- The total number of shards in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shards
The total number of shards in the cluster.
This is a convenience method that creates an instance of theShard.Builder
avoiding the need to create one manually viaShard.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toshards(List<Shard>)
.- Parameters:
shards
- a consumer that will call methods onShard.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the elastic cluster.
- Parameters:
status
- The status of the elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the elastic cluster.
- Parameters:
status
- The status of the elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subnetIds
The Amazon EC2 subnet IDs for the elastic cluster.
- Parameters:
subnetIds
- The Amazon EC2 subnet IDs for the elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
The Amazon EC2 subnet IDs for the elastic cluster.
- Parameters:
subnetIds
- The Amazon EC2 subnet IDs for the elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
A list of EC2 VPC security groups associated with thie elastic cluster.
- Parameters:
vpcSecurityGroupIds
- A list of EC2 VPC security groups associated with thie elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
A list of EC2 VPC security groups associated with thie elastic cluster.
- Parameters:
vpcSecurityGroupIds
- A list of EC2 VPC security groups associated with thie elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-