public static interface Cluster.Builder extends CopyableBuilder<Cluster.Builder,Cluster>
Modifier and Type | Method and Description |
---|---|
Cluster.Builder |
activeNodes(Integer activeNodes)
The number of nodes in the cluster that are active (i.e., capable of serving requests).
|
Cluster.Builder |
clusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
default Cluster.Builder |
clusterDiscoveryEndpoint(Consumer<Endpoint.Builder> clusterDiscoveryEndpoint)
The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number.
|
Cluster.Builder |
clusterDiscoveryEndpoint(Endpoint clusterDiscoveryEndpoint)
The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number.
|
Cluster.Builder |
clusterName(String clusterName)
The name of the DAX cluster.
|
Cluster.Builder |
description(String description)
The description of the cluster.
|
Cluster.Builder |
iamRoleArn(String iamRoleArn)
A valid Amazon Resource Name (ARN) that identifies an IAM role.
|
Cluster.Builder |
nodeIdsToRemove(Collection<String> nodeIdsToRemove)
A list of nodes to be removed from the cluster.
|
Cluster.Builder |
nodeIdsToRemove(String... nodeIdsToRemove)
A list of nodes to be removed from the cluster.
|
Cluster.Builder |
nodes(Collection<Node> nodes)
A list of nodes that are currently in the cluster.
|
Cluster.Builder |
nodes(Consumer<Node.Builder>... nodes)
A list of nodes that are currently in the cluster.
|
Cluster.Builder |
nodes(Node... nodes)
A list of nodes that are currently in the cluster.
|
Cluster.Builder |
nodeType(String nodeType)
The node type for the nodes in the cluster.
|
default Cluster.Builder |
notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration)
Describes a notification topic and its status.
|
Cluster.Builder |
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.
|
Cluster.Builder |
parameterGroup(ParameterGroupStatus parameterGroup)
The parameter group being used by nodes in the cluster.
|
Cluster.Builder |
preferredMaintenanceWindow(String preferredMaintenanceWindow)
A range of time when maintenance of DAX cluster software will be performed.
|
Cluster.Builder |
securityGroups(Collection<SecurityGroupMembership> securityGroups)
A list of security groups, and the status of each, for the nodes in the cluster.
|
Cluster.Builder |
securityGroups(Consumer<SecurityGroupMembership.Builder>... securityGroups)
A list of security groups, and the status of each, for the nodes in the cluster.
|
Cluster.Builder |
securityGroups(SecurityGroupMembership... securityGroups)
A list of security groups, and the status of each, for the nodes in the cluster.
|
Cluster.Builder |
status(String status)
The current status of the cluster.
|
Cluster.Builder |
subnetGroup(String subnetGroup)
The subnet group where the DAX cluster is running.
|
Cluster.Builder |
totalNodes(Integer totalNodes)
The total number of nodes in the cluster.
|
copy
applyMutation, build
Cluster.Builder clusterName(String clusterName)
The name of the DAX cluster.
clusterName
- The name of the DAX cluster.Cluster.Builder description(String description)
The description of the cluster.
description
- The description of the cluster.Cluster.Builder clusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.Cluster.Builder totalNodes(Integer totalNodes)
The total number of nodes in the cluster.
totalNodes
- The total number of nodes in the cluster.Cluster.Builder activeNodes(Integer activeNodes)
The number of nodes in the cluster that are active (i.e., capable of serving requests).
activeNodes
- The number of nodes in the cluster that are active (i.e., capable of serving requests).Cluster.Builder nodeType(String nodeType)
The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)
nodeType
- The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)Cluster.Builder status(String status)
The current status of the cluster.
status
- The current status of the cluster.Cluster.Builder clusterDiscoveryEndpoint(Endpoint clusterDiscoveryEndpoint)
The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number. Client applications can specify this endpoint, rather than an individual node endpoint, and allow the DAX client software to intelligently route requests and responses to nodes in the DAX cluster.
clusterDiscoveryEndpoint
- The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number. Client
applications can specify this endpoint, rather than an individual node endpoint, and allow the DAX
client software to intelligently route requests and responses to nodes in the DAX cluster.default Cluster.Builder clusterDiscoveryEndpoint(Consumer<Endpoint.Builder> clusterDiscoveryEndpoint)
The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number. Client applications can specify this endpoint, rather than an individual node endpoint, and allow the DAX client software to intelligently route requests and responses to nodes in the DAX cluster.
This is a convenience that creates an instance of theEndpoint.Builder
avoiding the need to create
one manually via Endpoint.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to clusterDiscoveryEndpoint(Endpoint)
.clusterDiscoveryEndpoint
- a consumer that will call methods on Endpoint.Builder
clusterDiscoveryEndpoint(Endpoint)
Cluster.Builder nodeIdsToRemove(Collection<String> nodeIdsToRemove)
A list of nodes to be removed from the cluster.
nodeIdsToRemove
- A list of nodes to be removed from the cluster.Cluster.Builder nodeIdsToRemove(String... nodeIdsToRemove)
A list of nodes to be removed from the cluster.
nodeIdsToRemove
- A list of nodes to be removed from the cluster.Cluster.Builder nodes(Collection<Node> nodes)
A list of nodes that are currently in the cluster.
nodes
- A list of nodes that are currently in the cluster.Cluster.Builder nodes(Node... nodes)
A list of nodes that are currently in the cluster.
nodes
- A list of nodes that are currently in the cluster.Cluster.Builder nodes(Consumer<Node.Builder>... nodes)
A list of nodes that are currently 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 #nodes(List)
.nodes
- a consumer that will call methods on List.Builder
#nodes(List)
Cluster.Builder preferredMaintenanceWindow(String 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.
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.Cluster.Builder notificationConfiguration(NotificationConfiguration notificationConfiguration)
Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).
notificationConfiguration
- Describes a notification topic and its status. Notification topics are used for publishing DAX events
to subscribers using Amazon Simple Notification Service (SNS).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 that creates an instance of theNotificationConfiguration.Builder
avoiding the
need to create one manually via NotificationConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to notificationConfiguration(NotificationConfiguration)
.notificationConfiguration
- a consumer that will call methods on NotificationConfiguration.Builder
notificationConfiguration(NotificationConfiguration)
Cluster.Builder subnetGroup(String subnetGroup)
The subnet group where the DAX cluster is running.
subnetGroup
- The subnet group where the DAX cluster is running.Cluster.Builder securityGroups(Collection<SecurityGroupMembership> securityGroups)
A list of security groups, and the status of each, for the nodes in the cluster.
securityGroups
- A list of security groups, and the status of each, for the nodes in the cluster.Cluster.Builder securityGroups(SecurityGroupMembership... securityGroups)
A list of security groups, and the status of each, for the nodes in the cluster.
securityGroups
- A list of security groups, and the status of each, for the nodes in the cluster.Cluster.Builder securityGroups(Consumer<SecurityGroupMembership.Builder>... securityGroups)
A list of security groups, and the status of each, for the nodes 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 #securityGroups(List)
.securityGroups
- a consumer that will call methods on List.Builder
#securityGroups(List)
Cluster.Builder iamRoleArn(String 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.
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.Cluster.Builder parameterGroup(ParameterGroupStatus parameterGroup)
The parameter group being used by nodes in the cluster.
parameterGroup
- The parameter group being used by nodes in the cluster.default Cluster.Builder parameterGroup(Consumer<ParameterGroupStatus.Builder> parameterGroup)
The parameter group being used by nodes in the cluster.
This is a convenience that creates an instance of theParameterGroupStatus.Builder
avoiding the need
to create one manually via ParameterGroupStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to parameterGroup(ParameterGroupStatus)
.parameterGroup
- a consumer that will call methods on ParameterGroupStatus.Builder
parameterGroup(ParameterGroupStatus)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.