public static interface ArtifactLocation.Builder extends SdkPojo, CopyableBuilder<ArtifactLocation.Builder,ArtifactLocation>
Modifier and Type | Method and Description |
---|---|
default ArtifactLocation.Builder |
s3Location(Consumer<S3ArtifactLocation.Builder> s3Location)
The Amazon S3 bucket that contains the artifact.
|
ArtifactLocation.Builder |
s3Location(S3ArtifactLocation s3Location)
The Amazon S3 bucket that contains the artifact.
|
ArtifactLocation.Builder |
type(ArtifactLocationType type)
The type of artifact in the location.
|
ArtifactLocation.Builder |
type(String type)
The type of artifact in the location.
|
copy
applyMutation, build
ArtifactLocation.Builder type(String type)
The type of artifact in the location.
type
- The type of artifact in the location.ArtifactLocationType
,
ArtifactLocationType
ArtifactLocation.Builder type(ArtifactLocationType type)
The type of artifact in the location.
type
- The type of artifact in the location.ArtifactLocationType
,
ArtifactLocationType
ArtifactLocation.Builder s3Location(S3ArtifactLocation s3Location)
The Amazon S3 bucket that contains the artifact.
s3Location
- The Amazon S3 bucket that contains the artifact.default ArtifactLocation.Builder s3Location(Consumer<S3ArtifactLocation.Builder> s3Location)
The Amazon S3 bucket that contains the artifact.
This is a convenience that creates an instance of theS3ArtifactLocation.Builder
avoiding the need to
create one manually via S3ArtifactLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to s3Location(S3ArtifactLocation)
.s3Location
- a consumer that will call methods on S3ArtifactLocation.Builder
s3Location(S3ArtifactLocation)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.