@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) |
AppSpecContent |
getAppSpecContent()
The content of an AppSpec file for an Lambda or Amazon ECS deployment.
|
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()
Deprecated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppSpecContent(AppSpecContent appSpecContent)
The content of an AppSpec file for an Lambda or Amazon ECS deployment.
|
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)
Deprecated.
|
String |
toString()
Returns a string representation of this object.
|
RevisionLocation |
withAppSpecContent(AppSpecContent appSpecContent)
The content of an AppSpec file for an Lambda or Amazon ECS deployment.
|
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)
Deprecated.
|
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 (Lambda deployments only).
AppSpecContent: An AppSpecContent
object 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.
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 AppSpecContent
object 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.
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 (Lambda deployments only).
AppSpecContent: An AppSpecContent
object 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.
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 AppSpecContent
object 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.
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 (Lambda deployments only).
AppSpecContent: An AppSpecContent
object 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.
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 AppSpecContent
object 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.
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 (Lambda deployments only).
AppSpecContent: An AppSpecContent
object 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.
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 AppSpecContent
object 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.
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 (Lambda deployments only).
AppSpecContent: An AppSpecContent
object 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.
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 AppSpecContent
object 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.
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.@Deprecated public void setString(RawString string)
Information about the location of an Lambda deployment revision stored as a RawString.
string
- Information about the location of an Lambda deployment revision stored as a RawString.@Deprecated public RawString getString()
Information about the location of an Lambda deployment revision stored as a RawString.
@Deprecated public RevisionLocation withString(RawString string)
Information about the location of an Lambda deployment revision stored as a RawString.
string
- Information about the location of an Lambda deployment revision stored as a RawString.public void setAppSpecContent(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.
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.public AppSpecContent getAppSpecContent()
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.
public RevisionLocation withAppSpecContent(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.
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.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.