Struct aws_sdk_sagemaker::input::delete_domain_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteDomainInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The domain ID.
sourcepub fn retention_policy(self, input: RetentionPolicy) -> Self
pub fn retention_policy(self, input: RetentionPolicy) -> Self
The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted).
sourcepub fn set_retention_policy(self, input: Option<RetentionPolicy>) -> Self
pub fn set_retention_policy(self, input: Option<RetentionPolicy>) -> Self
The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted).
sourcepub fn build(self) -> Result<DeleteDomainInput, BuildError>
pub fn build(self) -> Result<DeleteDomainInput, BuildError>
Consumes the builder and constructs a DeleteDomainInput
.