Interface CreateAssetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAssetRequest.Builder,CreateAssetRequest>,DataZoneRequest.Builder,SdkBuilder<CreateAssetRequest.Builder,CreateAssetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAssetRequest
public static interface CreateAssetRequest.Builder extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<CreateAssetRequest.Builder,CreateAssetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateAssetRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.CreateAssetRequest.Builderdescription(String description)Asset description.CreateAssetRequest.BuilderdomainIdentifier(String domainIdentifier)Amazon DataZone domain where the asset is created.CreateAssetRequest.BuilderexternalIdentifier(String externalIdentifier)The external identifier of the asset.CreateAssetRequest.BuilderformsInput(Collection<FormInput> formsInput)Metadata forms attached to the asset.CreateAssetRequest.BuilderformsInput(Consumer<FormInput.Builder>... formsInput)Metadata forms attached to the asset.CreateAssetRequest.BuilderformsInput(FormInput... formsInput)Metadata forms attached to the asset.CreateAssetRequest.BuilderglossaryTerms(String... glossaryTerms)Glossary terms attached to the asset.CreateAssetRequest.BuilderglossaryTerms(Collection<String> glossaryTerms)Glossary terms attached to the asset.CreateAssetRequest.Buildername(String name)Asset name.CreateAssetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAssetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateAssetRequest.BuilderowningProjectIdentifier(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.CreateAssetRequest.BuilderpredictionConfiguration(PredictionConfiguration predictionConfiguration)The configuration of the automatically generated business-friendly metadata for the asset.CreateAssetRequest.BuildertypeIdentifier(String typeIdentifier)The unique identifier of this asset's type.CreateAssetRequest.BuildertypeRevision(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, sdkFields
-
-
-
-
Method Detail
-
clientToken
CreateAssetRequest.Builder clientToken(String 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
CreateAssetRequest.Builder description(String description)
Asset description.
- Parameters:
description- Asset description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
CreateAssetRequest.Builder domainIdentifier(String 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
CreateAssetRequest.Builder externalIdentifier(String 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
CreateAssetRequest.Builder formsInput(Collection<FormInput> 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
CreateAssetRequest.Builder formsInput(FormInput... 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
CreateAssetRequest.Builder formsInput(Consumer<FormInput.Builder>... 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 to#formsInput(List.) - 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:
#formsInput(java.util.Collection)
-
glossaryTerms
CreateAssetRequest.Builder glossaryTerms(Collection<String> 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
CreateAssetRequest.Builder glossaryTerms(String... 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
CreateAssetRequest.Builder name(String name)
Asset name.
- Parameters:
name- Asset name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owningProjectIdentifier
CreateAssetRequest.Builder owningProjectIdentifier(String 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
CreateAssetRequest.Builder predictionConfiguration(PredictionConfiguration 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:
predictionConfiguration(PredictionConfiguration)
-
typeIdentifier
CreateAssetRequest.Builder typeIdentifier(String 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
CreateAssetRequest.Builder typeRevision(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAssetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-