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
Modifier and TypeMethodDescriptiondefault ArtifactLocation.Builder
s3Location
(Consumer<S3ArtifactLocation.Builder> s3Location) The S3 bucket that contains the artifact.s3Location
(S3ArtifactLocation s3Location) The S3 bucket that contains the artifact.The type of artifact in the location.type
(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, sdkFields
-
Method Details
-
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:
-
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:
-
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
The S3 bucket that contains the artifact.
This is a convenience method that creates an instance of theS3ArtifactLocation.Builder
avoiding the need to create one manually viaS3ArtifactLocation.builder()
.When the
Consumer
completes,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:
-