Struct aws_sdk_redshift::model::snapshot::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for Snapshot
Implementations
The snapshot identifier that is provided in the request.
The snapshot identifier that is provided in the request.
The identifier of the cluster for which the snapshot was taken.
The identifier of the cluster for which the snapshot was taken.
The time (in UTC format) when Amazon Redshift began the snapshot. A snapshot contains a copy of the cluster data as of this exact time.
The time (in UTC format) when Amazon Redshift began the snapshot. A snapshot contains a copy of the cluster data as of this exact time.
The snapshot status. The value of the status depends on the API operation used:
-
CreateClusterSnapshot and CopyClusterSnapshot returns status as "creating".
-
DescribeClusterSnapshots returns status as "creating", "available", "final snapshot", or "failed".
-
DeleteClusterSnapshot returns status as "deleted".
The snapshot status. The value of the status depends on the API operation used:
-
CreateClusterSnapshot and CopyClusterSnapshot returns status as "creating".
-
DescribeClusterSnapshots returns status as "creating", "available", "final snapshot", or "failed".
-
DeleteClusterSnapshot returns status as "deleted".
The Availability Zone in which the cluster was created.
The Availability Zone in which the cluster was created.
The time (UTC) when the cluster was originally created.
The time (UTC) when the cluster was originally created.
The admin user name for the cluster.
The admin user name for the cluster.
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.
The cluster version of the cluster used to create the snapshot. For example, 1.0.15503.
The cluster version of the cluster used to create the snapshot. For example, 1.0.15503.
The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot are of type "manual".
The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot are of type "manual".
The node type of the nodes in the cluster.
The node type of the nodes in the cluster.
The number of nodes in the cluster.
The number of nodes in the cluster.
The name of the database that was created when the cluster was created.
The name of the database that was created when the cluster was created.
The VPC identifier of the cluster if the snapshot is from a cluster in a VPC. Otherwise, this field is not in the output.
The VPC identifier of the cluster if the snapshot is from a cluster in a VPC. Otherwise, this field is not in the output.
If true
, the data in the snapshot is encrypted at rest.
If true
, the data in the snapshot is encrypted at rest.
The Key Management Service (KMS) key ID of the encryption key that was used to encrypt data in the cluster from which the snapshot was taken.
The Key Management Service (KMS) key ID of the encryption key that was used to encrypt data in the cluster from which the snapshot was taken.
A boolean that indicates whether the snapshot data is encrypted using the HSM keys
of the source cluster. true
indicates that the data is encrypted using HSM
keys.
A boolean that indicates whether the snapshot data is encrypted using the HSM keys
of the source cluster. true
indicates that the data is encrypted using HSM
keys.
Appends an item to accounts_with_restore_access
.
To override the contents of this collection use set_accounts_with_restore_access
.
A list of the Amazon Web Services accounts authorized to restore the snapshot. Returns
null
if no accounts are authorized. Visible only to the snapshot owner.
pub fn set_accounts_with_restore_access(
self,
input: Option<Vec<AccountWithRestoreAccess>>
) -> Self
pub fn set_accounts_with_restore_access(
self,
input: Option<Vec<AccountWithRestoreAccess>>
) -> Self
A list of the Amazon Web Services accounts authorized to restore the snapshot. Returns
null
if no accounts are authorized. Visible only to the snapshot owner.
For manual snapshots, the Amazon Web Services account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot.
For manual snapshots, the Amazon Web Services account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot.
The size of the complete set of backup data that would be used to restore the cluster.
The size of the complete set of backup data that would be used to restore the cluster.
The size of the incremental backup.
The size of the incremental backup.
The number of megabytes that have been transferred to the snapshot backup.
The number of megabytes that have been transferred to the snapshot backup.
The number of megabytes per second being transferred to the snapshot backup.
Returns 0
for a completed backup.
The number of megabytes per second being transferred to the snapshot backup.
Returns 0
for a completed backup.
The estimate of the time remaining before the snapshot backup will complete.
Returns 0
for a completed backup.
The estimate of the time remaining before the snapshot backup will complete.
Returns 0
for a completed backup.
The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.
The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.
The source region from which the snapshot was copied.
The source region from which the snapshot was copied.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The list of tags for the cluster snapshot.
The list of tags for the cluster snapshot.
Appends an item to restorable_node_types
.
To override the contents of this collection use set_restorable_node_types
.
The list of node types that this cluster snapshot is able to restore into.
The list of node types that this cluster snapshot is able to restore into.
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
The name of the maintenance track for the snapshot.
The name of the maintenance track for the snapshot.
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The number of days until a manual snapshot will pass its retention period.
The number of days until a manual snapshot will pass its retention period.
A timestamp representing the start of the retention period for the snapshot.
A timestamp representing the start of the retention period for the snapshot.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
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