Interface ArtifactLocation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ArtifactLocation.Builder,ArtifactLocation>,SdkBuilder<ArtifactLocation.Builder,ArtifactLocation>,SdkPojo
- Enclosing class:
- ArtifactLocation
public static interface ArtifactLocation.Builder extends SdkPojo, CopyableBuilder<ArtifactLocation.Builder,ArtifactLocation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ArtifactLocation.Builders3Location(Consumer<S3ArtifactLocation.Builder> s3Location)The S3 bucket that contains the artifact.ArtifactLocation.Builders3Location(S3ArtifactLocation s3Location)The S3 bucket that contains the artifact.ArtifactLocation.Buildertype(String type)The type of artifact in the location.ArtifactLocation.Buildertype(ArtifactLocationType type)The type of artifact in the location.-
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
-
type
ArtifactLocation.Builder type(String type)
The type of artifact in the location.
- Parameters:
type- The type of artifact in the location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArtifactLocationType,ArtifactLocationType
-
type
ArtifactLocation.Builder type(ArtifactLocationType type)
The type of artifact in the location.
- Parameters:
type- The type of artifact in the location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArtifactLocationType,ArtifactLocationType
-
s3Location
ArtifactLocation.Builder s3Location(S3ArtifactLocation s3Location)
The S3 bucket that contains the artifact.
- Parameters:
s3Location- The S3 bucket that contains the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
default ArtifactLocation.Builder s3Location(Consumer<S3ArtifactLocation.Builder> s3Location)
The S3 bucket that contains the artifact.
This is a convenience method that creates an instance of theS3ArtifactLocation.Builderavoiding the need to create one manually viaS3ArtifactLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Location(S3ArtifactLocation).- Parameters:
s3Location- a consumer that will call methods onS3ArtifactLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Location(S3ArtifactLocation)
-
-