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) The external identifier of the asset.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.Builder
predictionConfiguration
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
The external identifier of the asset.
- Parameters:
externalIdentifier
- The external identifier of 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.
- 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.Builder
avoiding the need to create one manually viaFormInput.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaPredictionConfiguration.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-