Interface ArtifactDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ArtifactDetail.Builder,,ArtifactDetail> SdkBuilder<ArtifactDetail.Builder,,ArtifactDetail> SdkPojo
- Enclosing class:
ArtifactDetail
@Mutable
@NotThreadSafe
public static interface ArtifactDetail.Builder
extends SdkPojo, CopyableBuilder<ArtifactDetail.Builder,ArtifactDetail>
-
Method Summary
Modifier and TypeMethodDescriptionThe artifact object name for the action execution.default ArtifactDetail.Builders3location(Consumer<S3Location.Builder> s3location) The Amazon S3 artifact location for the action execution.s3location(S3Location s3location) The Amazon S3 artifact location for the action execution.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
-
name
The artifact object name for the action execution.
- Parameters:
name- The artifact object name for the action execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3location
The Amazon S3 artifact location for the action execution.
- Parameters:
s3location- The Amazon S3 artifact location for the action execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3location
The Amazon S3 artifact location for the action execution.
This is a convenience method that creates an instance of theS3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3location(S3Location).- Parameters:
s3location- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-