Interface RevisionLocation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RevisionLocation.Builder,RevisionLocation>,SdkBuilder<RevisionLocation.Builder,RevisionLocation>,SdkPojo
- Enclosing class:
- RevisionLocation
public static interface RevisionLocation.Builder extends SdkPojo, CopyableBuilder<RevisionLocation.Builder,RevisionLocation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RevisionLocation.BuilderappSpecContent(Consumer<AppSpecContent.Builder> appSpecContent)The content of an AppSpec file for an Lambda or Amazon ECS deployment.RevisionLocation.BuilderappSpecContent(AppSpecContent appSpecContent)The content of an AppSpec file for an Lambda or Amazon ECS deployment.default RevisionLocation.BuildergitHubLocation(Consumer<GitHubLocation.Builder> gitHubLocation)Information about the location of application artifacts stored in GitHub.RevisionLocation.BuildergitHubLocation(GitHubLocation gitHubLocation)Information about the location of application artifacts stored in GitHub.RevisionLocation.BuilderrevisionType(String revisionType)The type of application revision:RevisionLocation.BuilderrevisionType(RevisionLocationType revisionType)The type of application revision:default RevisionLocation.Builders3Location(Consumer<S3Location.Builder> s3Location)Information about the location of a revision stored in Amazon S3.RevisionLocation.Builders3Location(S3Location s3Location)Information about the location of a revision stored in Amazon S3.default RevisionLocation.Builderstring(Consumer<RawString.Builder> string)Information about the location of an Lambda deployment revision stored as a RawString.RevisionLocation.Builderstring(RawString string)Information about the location of an Lambda deployment revision stored as a RawString.-
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 Detail
-
revisionType
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 (Lambda deployments only).
-
AppSpecContent: An
AppSpecContentobject that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.
- Parameters:
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 (Lambda deployments only).
-
AppSpecContent: An
AppSpecContentobject that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RevisionLocationType,RevisionLocationType
-
-
revisionType
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 (Lambda deployments only).
-
AppSpecContent: An
AppSpecContentobject that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.
- Parameters:
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 (Lambda deployments only).
-
AppSpecContent: An
AppSpecContentobject that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RevisionLocationType,RevisionLocationType
-
-
s3Location
RevisionLocation.Builder s3Location(S3Location s3Location)
Information about the location of a revision stored in Amazon S3.
- Parameters:
s3Location- Information about the location of a revision stored in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
default RevisionLocation.Builder s3Location(Consumer<S3Location.Builder> s3Location)
Information about the location of a revision stored in Amazon S3.
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)
-
gitHubLocation
RevisionLocation.Builder gitHubLocation(GitHubLocation gitHubLocation)
Information about the location of application artifacts stored in GitHub.
- Parameters:
gitHubLocation- Information about the location of application artifacts stored in GitHub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitHubLocation
default RevisionLocation.Builder gitHubLocation(Consumer<GitHubLocation.Builder> gitHubLocation)
Information about the location of application artifacts stored in GitHub.
This is a convenience method that creates an instance of theGitHubLocation.Builderavoiding the need to create one manually viaGitHubLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubLocation(GitHubLocation).- Parameters:
gitHubLocation- a consumer that will call methods onGitHubLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
gitHubLocation(GitHubLocation)
-
string
RevisionLocation.Builder string(RawString string)
Information about the location of an Lambda deployment revision stored as a RawString.
- Parameters:
string- Information about the location of an Lambda deployment revision stored as a RawString.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
string
default RevisionLocation.Builder string(Consumer<RawString.Builder> string)
Information about the location of an Lambda deployment revision stored as a RawString.
This is a convenience method that creates an instance of theRawString.Builderavoiding the need to create one manually viaRawString.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostring(RawString).- Parameters:
string- a consumer that will call methods onRawString.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
string(RawString)
-
appSpecContent
RevisionLocation.Builder appSpecContent(AppSpecContent appSpecContent)
The content of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.
- Parameters:
appSpecContent- The content of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appSpecContent
default RevisionLocation.Builder appSpecContent(Consumer<AppSpecContent.Builder> appSpecContent)
The content of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.
This is a convenience method that creates an instance of theAppSpecContent.Builderavoiding the need to create one manually viaAppSpecContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toappSpecContent(AppSpecContent).- Parameters:
appSpecContent- a consumer that will call methods onAppSpecContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
appSpecContent(AppSpecContent)
-
-