Interface AssetConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AssetConfiguration.Builder,,AssetConfiguration> SdkBuilder<AssetConfiguration.Builder,,AssetConfiguration> SdkPojo
- Enclosing class:
AssetConfiguration
@Mutable
@NotThreadSafe
public static interface AssetConfiguration.Builder
extends SdkPojo, CopyableBuilder<AssetConfiguration.Builder,AssetConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiontags(Collection<Tag> tags) The tags to be applied to assets created by the job.tags(Consumer<Tag.Builder>... tags) The tags to be applied to assets created by the job.The tags to be applied to assets created by the job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
tags
The tags to be applied to assets created by the job.
- Parameters:
tags- The tags to be applied to assets created by the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be applied to assets created by the job.
- Parameters:
tags- The tags to be applied to assets created by the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be applied to assets created by the job.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-