Struct aws_sdk_memorydb::model::snapshot::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Snapshot
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the snapshot. Valid values: creating | available | restoring | copying | deleting.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the snapshot. Valid values: creating | available | restoring | copying | deleting.
sourcepub fn source(self, input: impl Into<String>) -> Self
pub fn source(self, input: impl Into<String>) -> Self
Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
sourcepub fn set_source(self, input: Option<String>) -> Self
pub fn set_source(self, input: Option<String>) -> Self
Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The ID of the KMS key used to encrypt the snapshot.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The ID of the KMS key used to encrypt the snapshot.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN (Amazon Resource Name) of the snapshot.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The ARN (Amazon Resource Name) of the snapshot.
sourcepub fn cluster_configuration(self, input: ClusterConfiguration) -> Self
pub fn cluster_configuration(self, input: ClusterConfiguration) -> Self
The configuration of the cluster from which the snapshot was taken
sourcepub fn set_cluster_configuration(
self,
input: Option<ClusterConfiguration>
) -> Self
pub fn set_cluster_configuration(
self,
input: Option<ClusterConfiguration>
) -> Self
The configuration of the cluster from which the snapshot was taken
sourcepub fn data_tiering(self, input: DataTieringStatus) -> Self
pub fn data_tiering(self, input: DataTieringStatus) -> Self
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
sourcepub fn set_data_tiering(self, input: Option<DataTieringStatus>) -> Self
pub fn set_data_tiering(self, input: Option<DataTieringStatus>) -> Self
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.