Interface CreateAssetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateAssetResponse.Builder,CreateAssetResponse>,DataZoneResponse.Builder,SdkBuilder<CreateAssetResponse.Builder,CreateAssetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateAssetResponse
public static interface CreateAssetResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<CreateAssetResponse.Builder,CreateAssetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateAssetResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the asset was created.CreateAssetResponse.BuildercreatedBy(String createdBy)The Amazon DataZone user that created this asset in the catalog.CreateAssetResponse.Builderdescription(String description)The description of the created asset.CreateAssetResponse.BuilderdomainId(String domainId)The ID of the Amazon DataZone domain in which the asset was created.CreateAssetResponse.BuilderexternalIdentifier(String externalIdentifier)The external identifier of the asset.CreateAssetResponse.BuilderfirstRevisionCreatedAt(Instant firstRevisionCreatedAt)The timestamp of when the first revision of the asset took place.CreateAssetResponse.BuilderfirstRevisionCreatedBy(String firstRevisionCreatedBy)The Amazon DataZone user that made the first revision of the asset.CreateAssetResponse.BuilderformsOutput(Collection<FormOutput> formsOutput)The metadata forms that are attached to the created asset.CreateAssetResponse.BuilderformsOutput(Consumer<FormOutput.Builder>... formsOutput)The metadata forms that are attached to the created asset.CreateAssetResponse.BuilderformsOutput(FormOutput... formsOutput)The metadata forms that are attached to the created asset.CreateAssetResponse.BuilderglossaryTerms(String... glossaryTerms)The glossary terms that are attached to the created asset.CreateAssetResponse.BuilderglossaryTerms(Collection<String> glossaryTerms)The glossary terms that are attached to the created asset.CreateAssetResponse.Builderid(String id)The unique identifier of the created asset.CreateAssetResponse.BuilderlatestTimeSeriesDataPointFormsOutput(Collection<TimeSeriesDataPointSummaryFormOutput> latestTimeSeriesDataPointFormsOutput)The latest data point that was imported into the time series form for the asset.CreateAssetResponse.BuilderlatestTimeSeriesDataPointFormsOutput(Consumer<TimeSeriesDataPointSummaryFormOutput.Builder>... latestTimeSeriesDataPointFormsOutput)The latest data point that was imported into the time series form for the asset.CreateAssetResponse.BuilderlatestTimeSeriesDataPointFormsOutput(TimeSeriesDataPointSummaryFormOutput... latestTimeSeriesDataPointFormsOutput)The latest data point that was imported into the time series form for the asset.default CreateAssetResponse.Builderlisting(Consumer<AssetListingDetails.Builder> listing)The details of an asset published in an Amazon DataZone catalog.CreateAssetResponse.Builderlisting(AssetListingDetails listing)The details of an asset published in an Amazon DataZone catalog.CreateAssetResponse.Buildername(String name)The name of the created asset.CreateAssetResponse.BuilderowningProjectId(String owningProjectId)The ID of the Amazon DataZone project that owns the created asset.default CreateAssetResponse.BuilderpredictionConfiguration(Consumer<PredictionConfiguration.Builder> predictionConfiguration)The configuration of the automatically generated business-friendly metadata for the asset.CreateAssetResponse.BuilderpredictionConfiguration(PredictionConfiguration predictionConfiguration)The configuration of the automatically generated business-friendly metadata for the asset.CreateAssetResponse.BuilderreadOnlyFormsOutput(Collection<FormOutput> readOnlyFormsOutput)The read-only metadata forms that are attached to the created asset.CreateAssetResponse.BuilderreadOnlyFormsOutput(Consumer<FormOutput.Builder>... readOnlyFormsOutput)The read-only metadata forms that are attached to the created asset.CreateAssetResponse.BuilderreadOnlyFormsOutput(FormOutput... readOnlyFormsOutput)The read-only metadata forms that are attached to the created asset.CreateAssetResponse.Builderrevision(String revision)The revision of the asset.CreateAssetResponse.BuildertypeIdentifier(String typeIdentifier)The identifier of the created asset type.CreateAssetResponse.BuildertypeRevision(String typeRevision)The revision type of the asset.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
createdAt
CreateAssetResponse.Builder createdAt(Instant createdAt)
The timestamp of when the asset was created.
- Parameters:
createdAt- The timestamp of when the asset was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
CreateAssetResponse.Builder createdBy(String createdBy)
The Amazon DataZone user that created this asset in the catalog.
- Parameters:
createdBy- The Amazon DataZone user that created this asset in the catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateAssetResponse.Builder description(String description)
The description of the created asset.
- Parameters:
description- The description of the created asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
CreateAssetResponse.Builder domainId(String domainId)
The ID of the Amazon DataZone domain in which the asset was created.
- Parameters:
domainId- The ID of the Amazon DataZone domain in which the asset was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalIdentifier
CreateAssetResponse.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.
-
firstRevisionCreatedAt
CreateAssetResponse.Builder firstRevisionCreatedAt(Instant firstRevisionCreatedAt)
The timestamp of when the first revision of the asset took place.
- Parameters:
firstRevisionCreatedAt- The timestamp of when the first revision of the asset took place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstRevisionCreatedBy
CreateAssetResponse.Builder firstRevisionCreatedBy(String firstRevisionCreatedBy)
The Amazon DataZone user that made the first revision of the asset.
- Parameters:
firstRevisionCreatedBy- The Amazon DataZone user that made the first revision of the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formsOutput
CreateAssetResponse.Builder formsOutput(Collection<FormOutput> formsOutput)
The metadata forms that are attached to the created asset.
- Parameters:
formsOutput- The metadata forms that are attached to the created asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formsOutput
CreateAssetResponse.Builder formsOutput(FormOutput... formsOutput)
The metadata forms that are attached to the created asset.
- Parameters:
formsOutput- The metadata forms that are attached to the created asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formsOutput
CreateAssetResponse.Builder formsOutput(Consumer<FormOutput.Builder>... formsOutput)
The metadata forms that are attached to the created asset.
This is a convenience method that creates an instance of theFormOutput.Builderavoiding the need to create one manually viaFormOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#formsOutput(List.) - Parameters:
formsOutput- a consumer that will call methods onFormOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#formsOutput(java.util.Collection)
-
glossaryTerms
CreateAssetResponse.Builder glossaryTerms(Collection<String> glossaryTerms)
The glossary terms that are attached to the created asset.
- Parameters:
glossaryTerms- The glossary terms that are attached to the created asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glossaryTerms
CreateAssetResponse.Builder glossaryTerms(String... glossaryTerms)
The glossary terms that are attached to the created asset.
- Parameters:
glossaryTerms- The glossary terms that are attached to the created asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
CreateAssetResponse.Builder id(String id)
The unique identifier of the created asset.
- Parameters:
id- The unique identifier of the created asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestTimeSeriesDataPointFormsOutput
CreateAssetResponse.Builder latestTimeSeriesDataPointFormsOutput(Collection<TimeSeriesDataPointSummaryFormOutput> latestTimeSeriesDataPointFormsOutput)
The latest data point that was imported into the time series form for the asset.
- Parameters:
latestTimeSeriesDataPointFormsOutput- The latest data point that was imported into the time series form for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestTimeSeriesDataPointFormsOutput
CreateAssetResponse.Builder latestTimeSeriesDataPointFormsOutput(TimeSeriesDataPointSummaryFormOutput... latestTimeSeriesDataPointFormsOutput)
The latest data point that was imported into the time series form for the asset.
- Parameters:
latestTimeSeriesDataPointFormsOutput- The latest data point that was imported into the time series form for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestTimeSeriesDataPointFormsOutput
CreateAssetResponse.Builder latestTimeSeriesDataPointFormsOutput(Consumer<TimeSeriesDataPointSummaryFormOutput.Builder>... latestTimeSeriesDataPointFormsOutput)
The latest data point that was imported into the time series form for the asset.
This is a convenience method that creates an instance of theTimeSeriesDataPointSummaryFormOutput.Builderavoiding the need to create one manually viaTimeSeriesDataPointSummaryFormOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#latestTimeSeriesDataPointFormsOutput(List.) - Parameters:
latestTimeSeriesDataPointFormsOutput- a consumer that will call methods onTimeSeriesDataPointSummaryFormOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#latestTimeSeriesDataPointFormsOutput(java.util.Collection)
-
listing
CreateAssetResponse.Builder listing(AssetListingDetails listing)
The details of an asset published in an Amazon DataZone catalog.
- Parameters:
listing- The details of an asset published in an Amazon DataZone catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listing
default CreateAssetResponse.Builder listing(Consumer<AssetListingDetails.Builder> listing)
The details of an asset published in an Amazon DataZone catalog.
This is a convenience method that creates an instance of theAssetListingDetails.Builderavoiding the need to create one manually viaAssetListingDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolisting(AssetListingDetails).- Parameters:
listing- a consumer that will call methods onAssetListingDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
listing(AssetListingDetails)
-
name
CreateAssetResponse.Builder name(String name)
The name of the created asset.
- Parameters:
name- The name of the created asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owningProjectId
CreateAssetResponse.Builder owningProjectId(String owningProjectId)
The ID of the Amazon DataZone project that owns the created asset.
- Parameters:
owningProjectId- The ID of the Amazon DataZone project that owns the created asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictionConfiguration
CreateAssetResponse.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 CreateAssetResponse.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)
-
readOnlyFormsOutput
CreateAssetResponse.Builder readOnlyFormsOutput(Collection<FormOutput> readOnlyFormsOutput)
The read-only metadata forms that are attached to the created asset.
- Parameters:
readOnlyFormsOutput- The read-only metadata forms that are attached to the created asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readOnlyFormsOutput
CreateAssetResponse.Builder readOnlyFormsOutput(FormOutput... readOnlyFormsOutput)
The read-only metadata forms that are attached to the created asset.
- Parameters:
readOnlyFormsOutput- The read-only metadata forms that are attached to the created asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readOnlyFormsOutput
CreateAssetResponse.Builder readOnlyFormsOutput(Consumer<FormOutput.Builder>... readOnlyFormsOutput)
The read-only metadata forms that are attached to the created asset.
This is a convenience method that creates an instance of theFormOutput.Builderavoiding the need to create one manually viaFormOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#readOnlyFormsOutput(List.) - Parameters:
readOnlyFormsOutput- a consumer that will call methods onFormOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#readOnlyFormsOutput(java.util.Collection)
-
revision
CreateAssetResponse.Builder revision(String revision)
The revision of the asset.
- Parameters:
revision- The revision of the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeIdentifier
CreateAssetResponse.Builder typeIdentifier(String typeIdentifier)
The identifier of the created asset type.
- Parameters:
typeIdentifier- The identifier of the created asset type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeRevision
CreateAssetResponse.Builder typeRevision(String typeRevision)
The revision type of the asset.
- Parameters:
typeRevision- The revision type of the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-