Interface ArtifactDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ArtifactDetail.Builder,
,ArtifactDetail> SdkBuilder<ArtifactDetail.Builder,
,ArtifactDetail> SdkPojo
- Enclosing class:
ArtifactDetail
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.Builder
s3location
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,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:
-