Interface CreateDesignationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDesignationRequest.Builder,,CreateDesignationRequest> DataZoneRequest.Builder,SdkBuilder<CreateDesignationRequest.Builder,,CreateDesignationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDesignationRequest
@Mutable
@NotThreadSafe
public static interface CreateDesignationRequest.Builder
extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<CreateDesignationRequest.Builder,CreateDesignationRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondeletionProtection(Boolean deletionProtection) Whether deletion protection is enabled for this designation.description(String description) A human-readable description of the designation and its intended use.domainIdentifier(String domainIdentifier) The identifier of the Amazon DataZone domain in which the designation is created.The name of the designation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Cedar permit policy that defines what actions holders of this designation are allowed to perform.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainIdentifier
The identifier of the Amazon DataZone domain in which the designation is created.
- Parameters:
domainIdentifier- The identifier of the Amazon DataZone domain in which the designation is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the designation. The name must be unique within the domain.
- Parameters:
name- The name of the designation. The name must be unique within the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A human-readable description of the designation and its intended use.
- Parameters:
description- A human-readable description of the designation and its intended use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The Cedar permit policy that defines what actions holders of this designation are allowed to perform.
- Parameters:
policy- The Cedar permit policy that defines what actions holders of this designation are allowed to perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
Whether deletion protection is enabled for this designation. Defaults to true when omitted.
- Parameters:
deletionProtection- Whether deletion protection is enabled for this designation. Defaults to true when omitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDesignationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDesignationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-