pub struct Builder { /* private fields */ }Expand description
A builder for Snapshot.
Implementations
sourceimpl 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