public static interface DeleteDomainRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<DeleteDomainRequest.Builder,DeleteDomainRequest>
Modifier and Type | Method and Description |
---|---|
DeleteDomainRequest.Builder |
domainId(String domainId)
The domain ID.
|
DeleteDomainRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DeleteDomainRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default DeleteDomainRequest.Builder |
retentionPolicy(Consumer<RetentionPolicy.Builder> retentionPolicy)
The retention policy for this domain, which specifies whether resources will be retained after the Domain is
deleted.
|
DeleteDomainRequest.Builder |
retentionPolicy(RetentionPolicy retentionPolicy)
The retention policy for this domain, which specifies whether resources will be retained after the Domain is
deleted.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DeleteDomainRequest.Builder domainId(String domainId)
The domain ID.
domainId
- The domain ID.DeleteDomainRequest.Builder retentionPolicy(RetentionPolicy retentionPolicy)
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).
retentionPolicy
- 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).default DeleteDomainRequest.Builder retentionPolicy(Consumer<RetentionPolicy.Builder> retentionPolicy)
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).
This is a convenience that creates an instance of theRetentionPolicy.Builder
avoiding the need to
create one manually via RetentionPolicy.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to retentionPolicy(RetentionPolicy)
.retentionPolicy
- a consumer that will call methods on RetentionPolicy.Builder
retentionPolicy(RetentionPolicy)
DeleteDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
DeleteDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.