Interface Cluster.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Cluster.Builder,
,Cluster> SdkBuilder<Cluster.Builder,
,Cluster> SdkPojo
- Enclosing class:
Cluster
-
Method Summary
Modifier and TypeMethodDescriptionactiveNodes
(Integer activeNodes) The number of nodes in the cluster that are active (i.e., capable of serving requests).clusterArn
(String clusterArn) The Amazon Resource Name (ARN) that uniquely identifies the cluster.default Cluster.Builder
clusterDiscoveryEndpoint
(Consumer<Endpoint.Builder> clusterDiscoveryEndpoint) The endpoint for this DAX cluster, consisting of a DNS name, a port number, and a URL.clusterDiscoveryEndpoint
(Endpoint clusterDiscoveryEndpoint) The endpoint for this DAX cluster, consisting of a DNS name, a port number, and a URL.clusterEndpointEncryptionType
(String clusterEndpointEncryptionType) The type of encryption supported by the cluster's endpoint.clusterEndpointEncryptionType
(ClusterEndpointEncryptionType clusterEndpointEncryptionType) The type of encryption supported by the cluster's endpoint.clusterName
(String clusterName) The name of the DAX cluster.description
(String description) The description of the cluster.iamRoleArn
(String iamRoleArn) A valid Amazon Resource Name (ARN) that identifies an IAM role.nodeIdsToRemove
(String... nodeIdsToRemove) A list of nodes to be removed from the cluster.nodeIdsToRemove
(Collection<String> nodeIdsToRemove) A list of nodes to be removed from the cluster.nodes
(Collection<Node> nodes) A list of nodes that are currently in the cluster.nodes
(Consumer<Node.Builder>... nodes) A list of nodes that are currently in the cluster.A list of nodes that are currently in the cluster.The node type for the nodes in the cluster.default Cluster.Builder
notificationConfiguration
(Consumer<NotificationConfiguration.Builder> notificationConfiguration) Describes a notification topic and its status.notificationConfiguration
(NotificationConfiguration notificationConfiguration) Describes a notification topic and its status.default Cluster.Builder
parameterGroup
(Consumer<ParameterGroupStatus.Builder> parameterGroup) The parameter group being used by nodes in the cluster.parameterGroup
(ParameterGroupStatus parameterGroup) The parameter group being used by nodes in the cluster.preferredMaintenanceWindow
(String preferredMaintenanceWindow) A range of time when maintenance of DAX cluster software will be performed.securityGroups
(Collection<SecurityGroupMembership> securityGroups) A list of security groups, and the status of each, for the nodes in the cluster.securityGroups
(Consumer<SecurityGroupMembership.Builder>... securityGroups) A list of security groups, and the status of each, for the nodes in the cluster.securityGroups
(SecurityGroupMembership... securityGroups) A list of security groups, and the status of each, for the nodes in the cluster.default Cluster.Builder
sseDescription
(Consumer<SSEDescription.Builder> sseDescription) The description of the server-side encryption status on the specified DAX cluster.sseDescription
(SSEDescription sseDescription) The description of the server-side encryption status on the specified DAX cluster.The current status of the cluster.subnetGroup
(String subnetGroup) The subnet group where the DAX cluster is running.totalNodes
(Integer totalNodes) The total number of nodes in the 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
-
clusterName
The name of the DAX cluster.
- Parameters:
clusterName
- The name of the DAX cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the cluster.
- Parameters:
description
- The description of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterArn
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Parameters:
clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalNodes
The total number of nodes in the cluster.
- Parameters:
totalNodes
- The total number of nodes in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeNodes
The number of nodes in the cluster that are active (i.e., capable of serving requests).
- Parameters:
activeNodes
- The number of nodes in the cluster that are active (i.e., capable of serving requests).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)
- Parameters:
nodeType
- The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the cluster.
- Parameters:
status
- The current status of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterDiscoveryEndpoint
The endpoint for this DAX cluster, consisting of a DNS name, a port number, and a URL. Applications should use the URL to configure the DAX client to find their cluster.
- Parameters:
clusterDiscoveryEndpoint
- The endpoint for this DAX cluster, consisting of a DNS name, a port number, and a URL. Applications should use the URL to configure the DAX client to find their cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterDiscoveryEndpoint
default Cluster.Builder clusterDiscoveryEndpoint(Consumer<Endpoint.Builder> clusterDiscoveryEndpoint) The endpoint for this DAX cluster, consisting of a DNS name, a port number, and a URL. Applications should use the URL to configure the DAX client to find their cluster.
This is a convenience method that creates an instance of theEndpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclusterDiscoveryEndpoint(Endpoint)
.- Parameters:
clusterDiscoveryEndpoint
- a consumer that will call methods onEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeIdsToRemove
A list of nodes to be removed from the cluster.
- Parameters:
nodeIdsToRemove
- A list of nodes to be removed from the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeIdsToRemove
A list of nodes to be removed from the cluster.
- Parameters:
nodeIdsToRemove
- A list of nodes to be removed from the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
A list of nodes that are currently in the cluster.
- Parameters:
nodes
- A list of nodes that are currently in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
A list of nodes that are currently in the cluster.
- Parameters:
nodes
- A list of nodes that are currently in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
A list of nodes that are currently in the cluster.
This is a convenience method that creates an instance of theNode.Builder
avoiding the need to create one manually viaNode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodes(List<Node>)
.- Parameters:
nodes
- a consumer that will call methods onNode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preferredMaintenanceWindow
A range of time when maintenance of DAX cluster software will be performed. For example:
sun:01:00-sun:09:00
. Cluster maintenance normally takes less than 30 minutes, and is performed automatically within the maintenance window.- Parameters:
preferredMaintenanceWindow
- A range of time when maintenance of DAX cluster software will be performed. For example:sun:01:00-sun:09:00
. Cluster maintenance normally takes less than 30 minutes, and is performed automatically within the maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfiguration
Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).
- Parameters:
notificationConfiguration
- Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfiguration
default Cluster.Builder notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration) Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).
This is a convenience method that creates an instance of theNotificationConfiguration.Builder
avoiding the need to create one manually viaNotificationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationConfiguration(NotificationConfiguration)
.- Parameters:
notificationConfiguration
- a consumer that will call methods onNotificationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subnetGroup
The subnet group where the DAX cluster is running.
- Parameters:
subnetGroup
- The subnet group where the DAX cluster is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
A list of security groups, and the status of each, for the nodes in the cluster.
- Parameters:
securityGroups
- A list of security groups, and the status of each, for the nodes in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
A list of security groups, and the status of each, for the nodes in the cluster.
- Parameters:
securityGroups
- A list of security groups, and the status of each, for the nodes in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
A list of security groups, and the status of each, for the nodes in the cluster.
This is a convenience method that creates an instance of theSecurityGroupMembership.Builder
avoiding the need to create one manually viaSecurityGroupMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecurityGroups(List<SecurityGroupMembership>)
.- Parameters:
securityGroups
- a consumer that will call methods onSecurityGroupMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iamRoleArn
A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf.
- Parameters:
iamRoleArn
- A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterGroup
The parameter group being used by nodes in the cluster.
- Parameters:
parameterGroup
- The parameter group being used by nodes in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterGroup
The parameter group being used by nodes in the cluster.
This is a convenience method that creates an instance of theParameterGroupStatus.Builder
avoiding the need to create one manually viaParameterGroupStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameterGroup(ParameterGroupStatus)
.- Parameters:
parameterGroup
- a consumer that will call methods onParameterGroupStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sseDescription
The description of the server-side encryption status on the specified DAX cluster.
- Parameters:
sseDescription
- The description of the server-side encryption status on the specified DAX cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseDescription
The description of the server-side encryption status on the specified DAX cluster.
This is a convenience method that creates an instance of theSSEDescription.Builder
avoiding the need to create one manually viaSSEDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosseDescription(SSEDescription)
.- Parameters:
sseDescription
- a consumer that will call methods onSSEDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusterEndpointEncryptionType
The type of encryption supported by the cluster's endpoint. Values are:
-
NONE
for no encryptionTLS
for Transport Layer Security
- Parameters:
clusterEndpointEncryptionType
- The type of encryption supported by the cluster's endpoint. Values are:-
NONE
for no encryptionTLS
for Transport Layer Security
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
clusterEndpointEncryptionType
Cluster.Builder clusterEndpointEncryptionType(ClusterEndpointEncryptionType clusterEndpointEncryptionType) The type of encryption supported by the cluster's endpoint. Values are:
-
NONE
for no encryptionTLS
for Transport Layer Security
- Parameters:
clusterEndpointEncryptionType
- The type of encryption supported by the cluster's endpoint. Values are:-
NONE
for no encryptionTLS
for Transport Layer Security
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-