public static interface RevisionLocation.Builder extends SdkPojo, CopyableBuilder<RevisionLocation.Builder,RevisionLocation>
Modifier and Type | Method and Description |
---|---|
RevisionLocation.Builder |
appSpecContent(AppSpecContent appSpecContent)
The content of an AppSpec file for an AWS Lambda or Amazon ECS deployment.
|
default RevisionLocation.Builder |
appSpecContent(Consumer<AppSpecContent.Builder> appSpecContent)
The content of an AppSpec file for an AWS Lambda or Amazon ECS deployment.
|
default RevisionLocation.Builder |
gitHubLocation(Consumer<GitHubLocation.Builder> gitHubLocation)
Information about the location of application artifacts stored in GitHub.
|
RevisionLocation.Builder |
gitHubLocation(GitHubLocation gitHubLocation)
Information about the location of application artifacts stored in GitHub.
|
RevisionLocation.Builder |
revisionType(RevisionLocationType revisionType)
The type of application revision:
|
RevisionLocation.Builder |
revisionType(String revisionType)
The type of application revision:
|
default RevisionLocation.Builder |
s3Location(Consumer<S3Location.Builder> s3Location)
Information about the location of a revision stored in Amazon S3.
|
RevisionLocation.Builder |
s3Location(S3Location s3Location)
Information about the location of a revision stored in Amazon S3.
|
default RevisionLocation.Builder |
string(Consumer<RawString.Builder> string)
Information about the location of an AWS Lambda deployment revision stored as a RawString.
|
RevisionLocation.Builder |
string(RawString string)
Information about the location of an AWS Lambda deployment revision stored as a RawString.
|
copy
applyMutation, build
RevisionLocation.Builder revisionType(String revisionType)
The type of application revision:
S3: An application revision stored in Amazon S3.
GitHub: An application revision stored in GitHub (EC2/On-premises deployments only)
String: A YAML-formatted or JSON-formatted string (AWS Lambda deployments only)
revisionType
- The type of application revision:
S3: An application revision stored in Amazon S3.
GitHub: An application revision stored in GitHub (EC2/On-premises deployments only)
String: A YAML-formatted or JSON-formatted string (AWS Lambda deployments only)
RevisionLocationType
,
RevisionLocationType
RevisionLocation.Builder revisionType(RevisionLocationType revisionType)
The type of application revision:
S3: An application revision stored in Amazon S3.
GitHub: An application revision stored in GitHub (EC2/On-premises deployments only)
String: A YAML-formatted or JSON-formatted string (AWS Lambda deployments only)
revisionType
- The type of application revision:
S3: An application revision stored in Amazon S3.
GitHub: An application revision stored in GitHub (EC2/On-premises deployments only)
String: A YAML-formatted or JSON-formatted string (AWS Lambda deployments only)
RevisionLocationType
,
RevisionLocationType
RevisionLocation.Builder s3Location(S3Location s3Location)
Information about the location of a revision stored in Amazon S3.
s3Location
- Information about the location of a revision stored in Amazon S3.default RevisionLocation.Builder s3Location(Consumer<S3Location.Builder> s3Location)
Information about the location of a revision stored in Amazon S3.
This is a convenience that creates an instance of theS3Location.Builder
avoiding the need to create
one manually via S3Location.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to s3Location(S3Location)
.s3Location
- a consumer that will call methods on S3Location.Builder
s3Location(S3Location)
RevisionLocation.Builder gitHubLocation(GitHubLocation gitHubLocation)
Information about the location of application artifacts stored in GitHub.
gitHubLocation
- Information about the location of application artifacts stored in GitHub.default RevisionLocation.Builder gitHubLocation(Consumer<GitHubLocation.Builder> gitHubLocation)
Information about the location of application artifacts stored in GitHub.
This is a convenience that creates an instance of theGitHubLocation.Builder
avoiding the need to
create one manually via GitHubLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to gitHubLocation(GitHubLocation)
.gitHubLocation
- a consumer that will call methods on GitHubLocation.Builder
gitHubLocation(GitHubLocation)
RevisionLocation.Builder string(RawString string)
Information about the location of an AWS Lambda deployment revision stored as a RawString.
string
- Information about the location of an AWS Lambda deployment revision stored as a RawString.default RevisionLocation.Builder string(Consumer<RawString.Builder> string)
Information about the location of an AWS Lambda deployment revision stored as a RawString.
This is a convenience that creates an instance of theRawString.Builder
avoiding the need to create
one manually via RawString.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to string(RawString)
.string
- a consumer that will call methods on RawString.Builder
string(RawString)
RevisionLocation.Builder appSpecContent(AppSpecContent appSpecContent)
The content of an AppSpec file for an AWS Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.
appSpecContent
- The content of an AppSpec file for an AWS Lambda or Amazon ECS deployment. The content is formatted as
JSON or YAML and stored as a RawString.default RevisionLocation.Builder appSpecContent(Consumer<AppSpecContent.Builder> appSpecContent)
The content of an AppSpec file for an AWS Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.
This is a convenience that creates an instance of theAppSpecContent.Builder
avoiding the need to
create one manually via AppSpecContent.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to appSpecContent(AppSpecContent)
.appSpecContent
- a consumer that will call methods on AppSpecContent.Builder
appSpecContent(AppSpecContent)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.