pub struct Builder { /* private fields */ }
Expand description
A builder for Cluster
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the DAX cluster.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the DAX cluster.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the cluster.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the cluster.
sourcepub fn cluster_arn(self, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
sourcepub fn total_nodes(self, input: i32) -> Self
pub fn total_nodes(self, input: i32) -> Self
The total number of nodes in the cluster.
sourcepub fn set_total_nodes(self, input: Option<i32>) -> Self
pub fn set_total_nodes(self, input: Option<i32>) -> Self
The total number of nodes in the cluster.
sourcepub fn active_nodes(self, input: i32) -> Self
pub fn active_nodes(self, input: i32) -> Self
The number of nodes in the cluster that are active (i.e., capable of serving requests).
sourcepub fn set_active_nodes(self, input: Option<i32>) -> Self
pub fn set_active_nodes(self, input: Option<i32>) -> Self
The number of nodes in the cluster that are active (i.e., capable of serving requests).
sourcepub fn node_type(self, input: impl Into<String>) -> Self
pub fn node_type(self, input: impl Into<String>) -> Self
The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)
sourcepub fn set_node_type(self, input: Option<String>) -> Self
pub fn set_node_type(self, input: Option<String>) -> Self
The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The current status of the cluster.
sourcepub fn cluster_discovery_endpoint(self, input: Endpoint) -> Self
pub fn cluster_discovery_endpoint(self, input: Endpoint) -> Self
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.
sourcepub fn set_cluster_discovery_endpoint(self, input: Option<Endpoint>) -> Self
pub fn set_cluster_discovery_endpoint(self, input: Option<Endpoint>) -> Self
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.
sourcepub fn node_ids_to_remove(self, input: impl Into<String>) -> Self
pub fn node_ids_to_remove(self, input: impl Into<String>) -> Self
Appends an item to node_ids_to_remove
.
To override the contents of this collection use set_node_ids_to_remove
.
A list of nodes to be removed from the cluster.
sourcepub fn set_node_ids_to_remove(self, input: Option<Vec<String>>) -> Self
pub fn set_node_ids_to_remove(self, input: Option<Vec<String>>) -> Self
A list of nodes to be removed from the cluster.
sourcepub fn nodes(self, input: Node) -> Self
pub fn nodes(self, input: Node) -> Self
Appends an item to nodes
.
To override the contents of this collection use set_nodes
.
A list of nodes that are currently in the cluster.
sourcepub fn set_nodes(self, input: Option<Vec<Node>>) -> Self
pub fn set_nodes(self, input: Option<Vec<Node>>) -> Self
A list of nodes that are currently in the cluster.
sourcepub fn preferred_maintenance_window(self, input: impl Into<String>) -> Self
pub fn preferred_maintenance_window(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_preferred_maintenance_window(self, input: Option<String>) -> Self
pub fn set_preferred_maintenance_window(self, input: Option<String>) -> Self
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.
sourcepub fn notification_configuration(
self,
input: NotificationConfiguration
) -> Self
pub fn notification_configuration(
self,
input: NotificationConfiguration
) -> Self
Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).
sourcepub fn set_notification_configuration(
self,
input: Option<NotificationConfiguration>
) -> Self
pub fn set_notification_configuration(
self,
input: Option<NotificationConfiguration>
) -> Self
Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).
sourcepub fn subnet_group(self, input: impl Into<String>) -> Self
pub fn subnet_group(self, input: impl Into<String>) -> Self
The subnet group where the DAX cluster is running.
sourcepub fn set_subnet_group(self, input: Option<String>) -> Self
pub fn set_subnet_group(self, input: Option<String>) -> Self
The subnet group where the DAX cluster is running.
sourcepub fn security_groups(self, input: SecurityGroupMembership) -> Self
pub fn security_groups(self, input: SecurityGroupMembership) -> Self
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
A list of security groups, and the status of each, for the nodes in the cluster.
sourcepub fn set_security_groups(
self,
input: Option<Vec<SecurityGroupMembership>>
) -> Self
pub fn set_security_groups(
self,
input: Option<Vec<SecurityGroupMembership>>
) -> Self
A list of security groups, and the status of each, for the nodes in the cluster.
sourcepub fn iam_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_role_arn(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_iam_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_role_arn(self, input: Option<String>) -> Self
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.
sourcepub fn parameter_group(self, input: ParameterGroupStatus) -> Self
pub fn parameter_group(self, input: ParameterGroupStatus) -> Self
The parameter group being used by nodes in the cluster.
sourcepub fn set_parameter_group(self, input: Option<ParameterGroupStatus>) -> Self
pub fn set_parameter_group(self, input: Option<ParameterGroupStatus>) -> Self
The parameter group being used by nodes in the cluster.
sourcepub fn sse_description(self, input: SseDescription) -> Self
pub fn sse_description(self, input: SseDescription) -> Self
The description of the server-side encryption status on the specified DAX cluster.
sourcepub fn set_sse_description(self, input: Option<SseDescription>) -> Self
pub fn set_sse_description(self, input: Option<SseDescription>) -> Self
The description of the server-side encryption status on the specified DAX cluster.
sourcepub fn cluster_endpoint_encryption_type(
self,
input: ClusterEndpointEncryptionType
) -> Self
pub fn cluster_endpoint_encryption_type(
self,
input: ClusterEndpointEncryptionType
) -> Self
The type of encryption supported by the cluster's endpoint. Values are:
-
NONE
for no encryptionTLS
for Transport Layer Security
sourcepub fn set_cluster_endpoint_encryption_type(
self,
input: Option<ClusterEndpointEncryptionType>
) -> Self
pub fn set_cluster_endpoint_encryption_type(
self,
input: Option<ClusterEndpointEncryptionType>
) -> Self
The type of encryption supported by the cluster's endpoint. Values are:
-
NONE
for no encryptionTLS
for Transport Layer Security
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more