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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ArtifactDetail.Buildername(String name)The artifact object name for the action execution.default ArtifactDetail.Builders3location(Consumer<S3Location.Builder> s3location)The Amazon S3 artifact location for the action execution.ArtifactDetail.Builders3location(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
ArtifactDetail.Builder name(String 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
ArtifactDetail.Builder s3location(S3Location 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
default ArtifactDetail.Builder s3location(Consumer<S3Location.Builder> 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:
s3location(S3Location)
-
-