#[non_exhaustive]
pub struct Builder { /* private fields */ }
Expand description

A builder for Cluster

Implementations

The unique identifier of the cluster.

The unique identifier of the cluster.

The node type for the nodes in the cluster.

The node type for the nodes in the cluster.

The current state of the cluster. Possible values are the following:

  • available

  • available, prep-for-resize

  • available, resize-cleanup

  • cancelling-resize

  • creating

  • deleting

  • final-snapshot

  • hardware-failure

  • incompatible-hsm

  • incompatible-network

  • incompatible-parameters

  • incompatible-restore

  • modifying

  • paused

  • rebooting

  • renaming

  • resizing

  • rotating-keys

  • storage-full

  • updating-hsm

The current state of the cluster. Possible values are the following:

  • available

  • available, prep-for-resize

  • available, resize-cleanup

  • cancelling-resize

  • creating

  • deleting

  • final-snapshot

  • hardware-failure

  • incompatible-hsm

  • incompatible-network

  • incompatible-parameters

  • incompatible-restore

  • modifying

  • paused

  • rebooting

  • renaming

  • resizing

  • rotating-keys

  • storage-full

  • updating-hsm

The availability status of the cluster for queries. Possible values are the following:

  • Available - The cluster is available for queries.

  • Unavailable - The cluster is not available for queries.

  • Maintenance - The cluster is intermittently available for queries due to maintenance activities.

  • Modifying - The cluster is intermittently available for queries due to changes that modify the cluster.

  • Failed - The cluster failed and is not available for queries.

The availability status of the cluster for queries. Possible values are the following:

  • Available - The cluster is available for queries.

  • Unavailable - The cluster is not available for queries.

  • Maintenance - The cluster is intermittently available for queries due to maintenance activities.

  • Modifying - The cluster is intermittently available for queries due to changes that modify the cluster.

  • Failed - The cluster failed and is not available for queries.

The status of a modify operation, if any, initiated for the cluster.

The status of a modify operation, if any, initiated for the cluster.

The admin user name for the cluster. This name is used to connect to the database that is specified in the DBName parameter.

The admin user name for the cluster. This name is used to connect to the database that is specified in the DBName parameter.

The name of the initial database that was created when the cluster was created. This same name is returned for the life of the cluster. If an initial database was not specified, a database named devdev was created by default.

The name of the initial database that was created when the cluster was created. This same name is returned for the life of the cluster. If an initial database was not specified, a database named devdev was created by default.

The connection endpoint.

The connection endpoint.

The date and time that the cluster was created.

The date and time that the cluster was created.

The number of days that automatic cluster snapshots are retained.

The number of days that automatic cluster snapshots are retained.

The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots.

The value must be either -1 or an integer between 1 and 3,653.

The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots.

The value must be either -1 or an integer between 1 and 3,653.

Appends an item to cluster_security_groups.

To override the contents of this collection use set_cluster_security_groups.

A list of cluster security group that are associated with the cluster. Each security group is represented by an element that contains ClusterSecurityGroup.Name and ClusterSecurityGroup.Status subelements.

Cluster security groups are used when the cluster is not created in an Amazon Virtual Private Cloud (VPC). Clusters that are created in a VPC use VPC security groups, which are listed by the VpcSecurityGroups parameter.

A list of cluster security group that are associated with the cluster. Each security group is represented by an element that contains ClusterSecurityGroup.Name and ClusterSecurityGroup.Status subelements.

Cluster security groups are used when the cluster is not created in an Amazon Virtual Private Cloud (VPC). Clusters that are created in a VPC use VPC security groups, which are listed by the VpcSecurityGroups parameter.

Appends an item to vpc_security_groups.

To override the contents of this collection use set_vpc_security_groups.

A list of Amazon Virtual Private Cloud (Amazon VPC) security groups that are associated with the cluster. This parameter is returned only if the cluster is in a VPC.

A list of Amazon Virtual Private Cloud (Amazon VPC) security groups that are associated with the cluster. This parameter is returned only if the cluster is in a VPC.

Appends an item to cluster_parameter_groups.

To override the contents of this collection use set_cluster_parameter_groups.

The list of cluster parameter groups that are associated with this cluster. Each parameter group in the list is returned with its status.

The list of cluster parameter groups that are associated with this cluster. Each parameter group in the list is returned with its status.

The name of the subnet group that is associated with the cluster. This parameter is valid only when the cluster is in a VPC.

The name of the subnet group that is associated with the cluster. This parameter is valid only when the cluster is in a VPC.

The identifier of the VPC the cluster is in, if the cluster is in a VPC.

The identifier of the VPC the cluster is in, if the cluster is in a VPC.

The name of the Availability Zone in which the cluster is located.

The name of the Availability Zone in which the cluster is located.

The weekly time range, in Universal Coordinated Time (UTC), during which system maintenance can occur.

The weekly time range, in Universal Coordinated Time (UTC), during which system maintenance can occur.

A value that, if present, indicates that changes to the cluster are pending. Specific pending changes are identified by subelements.

A value that, if present, indicates that changes to the cluster are pending. Specific pending changes are identified by subelements.

The version ID of the Amazon Redshift engine that is running on the cluster.

The version ID of the Amazon Redshift engine that is running on the cluster.

A boolean value that, if true, indicates that major version upgrades will be applied automatically to the cluster during the maintenance window.

A boolean value that, if true, indicates that major version upgrades will be applied automatically to the cluster during the maintenance window.

The number of compute nodes in the cluster.

The number of compute nodes in the cluster.

A boolean value that, if true, indicates that the cluster can be accessed from a public network.

A boolean value that, if true, indicates that the cluster can be accessed from a public network.

A boolean value that, if true, indicates that data in the cluster is encrypted at rest.

A boolean value that, if true, indicates that data in the cluster is encrypted at rest.

A value that describes the status of a cluster restore action. This parameter returns null if the cluster was not created by restoring a snapshot.

A value that describes the status of a cluster restore action. This parameter returns null if the cluster was not created by restoring a snapshot.

A value that reports whether the Amazon Redshift cluster has finished applying any hardware security module (HSM) settings changes specified in a modify cluster command.

Values: active, applying

A value that reports whether the Amazon Redshift cluster has finished applying any hardware security module (HSM) settings changes specified in a modify cluster command.

Values: active, applying

A value that returns the destination region and retention period that are configured for cross-region snapshot copy.

A value that returns the destination region and retention period that are configured for cross-region snapshot copy.

The public key for the cluster.

The public key for the cluster.

Appends an item to cluster_nodes.

To override the contents of this collection use set_cluster_nodes.

The nodes in the cluster.

The nodes in the cluster.

The status of the elastic IP (EIP) address.

The status of the elastic IP (EIP) address.

The specific revision number of the database in the cluster.

The specific revision number of the database in the cluster.

Appends an item to tags.

To override the contents of this collection use set_tags.

The list of tags for the cluster.

The list of tags for the cluster.

The Key Management Service (KMS) key ID of the encryption key used to encrypt data in the cluster.

The Key Management Service (KMS) key ID of the encryption key used to encrypt data in the cluster.

An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.

If this option is true, enhanced VPC routing is enabled.

Default: false

An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.

If this option is true, enhanced VPC routing is enabled.

Default: false

Appends an item to iam_roles.

To override the contents of this collection use set_iam_roles.

A list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services.

A list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services.

Appends an item to pending_actions.

To override the contents of this collection use set_pending_actions.

Cluster operations that are waiting to be started.

Cluster operations that are waiting to be started.

The name of the maintenance track for the cluster.

The name of the maintenance track for the cluster.

The number of nodes that you can resize the cluster to with the elastic resize method.

The number of nodes that you can resize the cluster to with the elastic resize method.

Appends an item to deferred_maintenance_windows.

To override the contents of this collection use set_deferred_maintenance_windows.

Describes a group of DeferredMaintenanceWindow objects.

Describes a group of DeferredMaintenanceWindow objects.

A unique identifier for the cluster snapshot schedule.

A unique identifier for the cluster snapshot schedule.

The current state of the cluster snapshot schedule.

The current state of the cluster snapshot schedule.

The date and time when the next snapshot is expected to be taken for clusters with a valid snapshot schedule and backups enabled.

The date and time when the next snapshot is expected to be taken for clusters with a valid snapshot schedule and backups enabled.

The status of next expected snapshot for clusters having a valid snapshot schedule and backups enabled. Possible values are the following:

  • OnTrack - The next snapshot is expected to be taken on time.

  • Pending - The next snapshot is pending to be taken.

The status of next expected snapshot for clusters having a valid snapshot schedule and backups enabled. Possible values are the following:

  • OnTrack - The next snapshot is expected to be taken on time.

  • Pending - The next snapshot is pending to be taken.

The date and time in UTC when system maintenance can begin.

The date and time in UTC when system maintenance can begin.

Returns the following:

  • AllowCancelResize: a boolean value indicating if the resize operation can be cancelled.

  • ResizeType: Returns ClassicResize

Returns the following:

  • AllowCancelResize: a boolean value indicating if the resize operation can be cancelled.

  • ResizeType: Returns ClassicResize

Describes the status of the Availability Zone relocation operation.

Describes the status of the Availability Zone relocation operation.

The namespace Amazon Resource Name (ARN) of the cluster.

The namespace Amazon Resource Name (ARN) of the cluster.

The total storage capacity of the cluster in megabytes.

The total storage capacity of the cluster in megabytes.

The AQUA (Advanced Query Accelerator) configuration of the cluster.

The AQUA (Advanced Query Accelerator) configuration of the cluster.

The Amazon Resource Name (ARN) for the IAM role set as default for the cluster.

The Amazon Resource Name (ARN) for the IAM role set as default for the cluster.

The status of the reserved-node exchange request. Statuses include in-progress and requested.

The status of the reserved-node exchange request. Statuses include in-progress and requested.

Consumes the builder and constructs a Cluster

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more