Interface CreateAssetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAssetRequest.Builder,,CreateAssetRequest> DataZoneRequest.Builder,SdkBuilder<CreateAssetRequest.Builder,,CreateAssetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAssetRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.description(String description) Asset description.domainIdentifier(String domainIdentifier) Amazon DataZone domain where the asset is created.externalIdentifier(String externalIdentifier) formsInput(Collection<FormInput> formsInput) Metadata forms attached to the asset.formsInput(Consumer<FormInput.Builder>... formsInput) Metadata forms attached to the asset.formsInput(FormInput... formsInput) Metadata forms attached to the asset.glossaryTerms(String... glossaryTerms) Glossary terms attached to the asset.glossaryTerms(Collection<String> glossaryTerms) Glossary terms attached to the asset.Asset name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.owningProjectIdentifier(String owningProjectIdentifier) The unique identifier of the project that owns this asset.default CreateAssetRequest.BuilderpredictionConfiguration(Consumer<PredictionConfiguration.Builder> predictionConfiguration) The configuration of the automatically generated business-friendly metadata for the asset.predictionConfiguration(PredictionConfiguration predictionConfiguration) The configuration of the automatically generated business-friendly metadata for the asset.typeIdentifier(String typeIdentifier) The unique identifier of this asset's type.typeRevision(String typeRevision) The revision of this asset's type.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, sdkFields
-
Method Details
-
clientToken
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Asset description.
- Parameters:
description- Asset description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
Amazon DataZone domain where the asset is created.
- Parameters:
domainIdentifier- Amazon DataZone domain where the asset is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalIdentifier
- Parameters:
externalIdentifier-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formsInput
Metadata forms attached to the asset.
- Parameters:
formsInput- Metadata forms attached to the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formsInput
Metadata forms attached to the asset.
- Parameters:
formsInput- Metadata forms attached to the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formsInput
Metadata forms attached to the asset.
This is a convenience method that creates an instance of theFormInput.Builderavoiding the need to create one manually viaFormInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toformsInput(List<FormInput>).- Parameters:
formsInput- a consumer that will call methods onFormInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
glossaryTerms
Glossary terms attached to the asset.
- Parameters:
glossaryTerms- Glossary terms attached to the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glossaryTerms
Glossary terms attached to the asset.
- Parameters:
glossaryTerms- Glossary terms attached to the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Asset name.
- Parameters:
name- Asset name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owningProjectIdentifier
The unique identifier of the project that owns this asset.
- Parameters:
owningProjectIdentifier- The unique identifier of the project that owns this asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictionConfiguration
The configuration of the automatically generated business-friendly metadata for the asset.
- Parameters:
predictionConfiguration- The configuration of the automatically generated business-friendly metadata for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictionConfiguration
default CreateAssetRequest.Builder predictionConfiguration(Consumer<PredictionConfiguration.Builder> predictionConfiguration) The configuration of the automatically generated business-friendly metadata for the asset.
This is a convenience method that creates an instance of thePredictionConfiguration.Builderavoiding the need to create one manually viaPredictionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topredictionConfiguration(PredictionConfiguration).- Parameters:
predictionConfiguration- a consumer that will call methods onPredictionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
typeIdentifier
The unique identifier of this asset's type.
- Parameters:
typeIdentifier- The unique identifier of this asset's type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeRevision
The revision of this asset's type.
- Parameters:
typeRevision- The revision of this asset's type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAssetRequest.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
CreateAssetRequest.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.
-