@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RevisionLocation extends Object implements Serializable, Cloneable, StructuredPojo
Information about the location of an application revision.
Constructor and Description |
---|
RevisionLocation() |
Modifier and Type | Method and Description |
---|---|
RevisionLocation |
clone() |
boolean |
equals(Object obj) |
GitHubLocation |
getGitHubLocation()
Information about the location of application artifacts stored in GitHub.
|
String |
getRevisionType()
The type of application revision:
|
S3Location |
getS3Location()
Information about the location of a revision stored in Amazon S3.
|
RawString |
getString()
Information about the location of an AWS Lambda deployment revision stored as a RawString.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGitHubLocation(GitHubLocation gitHubLocation)
Information about the location of application artifacts stored in GitHub.
|
void |
setRevisionType(RevisionLocationType revisionType)
The type of application revision:
|
void |
setRevisionType(String revisionType)
The type of application revision:
|
void |
setS3Location(S3Location s3Location)
Information about the location of a revision stored in Amazon S3.
|
void |
setString(RawString string)
Information about the location of an AWS Lambda deployment revision stored as a RawString.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RevisionLocation |
withGitHubLocation(GitHubLocation gitHubLocation)
Information about the location of application artifacts stored in GitHub.
|
RevisionLocation |
withRevisionType(RevisionLocationType revisionType)
The type of application revision:
|
RevisionLocation |
withRevisionType(String revisionType)
The type of application revision:
|
RevisionLocation |
withS3Location(S3Location s3Location)
Information about the location of a revision stored in Amazon S3.
|
RevisionLocation |
withString(RawString string)
Information about the location of an AWS Lambda deployment revision stored as a RawString.
|
public void setRevisionType(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
public String getRevisionType()
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)
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
public RevisionLocation withRevisionType(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
public void setRevisionType(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
public RevisionLocation withRevisionType(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
public void setS3Location(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.public S3Location getS3Location()
Information about the location of a revision stored in Amazon S3.
public RevisionLocation withS3Location(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.public void setGitHubLocation(GitHubLocation gitHubLocation)
Information about the location of application artifacts stored in GitHub.
gitHubLocation
- Information about the location of application artifacts stored in GitHub.public GitHubLocation getGitHubLocation()
Information about the location of application artifacts stored in GitHub.
public RevisionLocation withGitHubLocation(GitHubLocation gitHubLocation)
Information about the location of application artifacts stored in GitHub.
gitHubLocation
- Information about the location of application artifacts stored in GitHub.public void setString(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.public RawString getString()
Information about the location of an AWS Lambda deployment revision stored as a RawString.
public RevisionLocation withString(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.public String toString()
toString
in class Object
Object.toString()
public RevisionLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.