Interface RevisionLocation.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<RevisionLocation.Builder,,RevisionLocation> SdkBuilder<RevisionLocation.Builder,,RevisionLocation> SdkPojo
- Enclosing class:
 RevisionLocation
- 
Method Summary
Modifier and TypeMethodDescriptiondefault RevisionLocation.BuilderappSpecContent(Consumer<AppSpecContent.Builder> appSpecContent) The content of an AppSpec file for an Lambda or Amazon ECS deployment.appSpecContent(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.gitHubLocation(GitHubLocation gitHubLocation) Information about the location of application artifacts stored in GitHub.revisionType(String revisionType) The type of application revision:revisionType(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.s3Location(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.Information about the location of an Lambda deployment revision stored as a RawString.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
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:
 
 - 
 
 - 
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:
 
 - 
 
 - 
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
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:
 
 - 
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
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:
 
 - 
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
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:
 
 - 
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
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:
 
 
 -