public class RevisionLocation
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about the location of an application revision.
Modifier and Type | Field and Description |
---|---|
private GitHubLocation |
gitHubLocation |
private java.lang.String |
revisionType
The type of application revision:
|
private S3Location |
s3Location |
Constructor and Description |
---|
RevisionLocation() |
Modifier and Type | Method and Description |
---|---|
RevisionLocation |
clone() |
boolean |
equals(java.lang.Object obj) |
GitHubLocation |
getGitHubLocation() |
java.lang.String |
getRevisionType()
The type of application revision:
|
S3Location |
getS3Location() |
int |
hashCode() |
void |
setGitHubLocation(GitHubLocation gitHubLocation) |
void |
setRevisionType(RevisionLocationType revisionType)
The type of application revision:
|
void |
setRevisionType(java.lang.String revisionType)
The type of application revision:
|
void |
setS3Location(S3Location s3Location) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RevisionLocation |
withGitHubLocation(GitHubLocation gitHubLocation) |
RevisionLocation |
withRevisionType(RevisionLocationType revisionType)
The type of application revision:
|
RevisionLocation |
withRevisionType(java.lang.String revisionType)
The type of application revision:
|
RevisionLocation |
withS3Location(S3Location s3Location) |
private java.lang.String revisionType
The type of application revision:
private S3Location s3Location
private GitHubLocation gitHubLocation
public void setRevisionType(java.lang.String revisionType)
The type of application revision:
revisionType
- The type of application revision:
RevisionLocationType
public java.lang.String getRevisionType()
The type of application revision:
RevisionLocationType
public RevisionLocation withRevisionType(java.lang.String revisionType)
The type of application revision:
revisionType
- The type of application revision:
RevisionLocationType
public void setRevisionType(RevisionLocationType revisionType)
The type of application revision:
revisionType
- The type of application revision:
RevisionLocationType
public RevisionLocation withRevisionType(RevisionLocationType revisionType)
The type of application revision:
revisionType
- The type of application revision:
RevisionLocationType
public void setS3Location(S3Location s3Location)
s3Location
- public S3Location getS3Location()
public RevisionLocation withS3Location(S3Location s3Location)
s3Location
- public void setGitHubLocation(GitHubLocation gitHubLocation)
gitHubLocation
- public GitHubLocation getGitHubLocation()
public RevisionLocation withGitHubLocation(GitHubLocation gitHubLocation)
gitHubLocation
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RevisionLocation clone()
clone
in class java.lang.Object