@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Revision extends Object implements Serializable, Cloneable, StructuredPojo
Revision detail data for a commit and push that activates a sync attempt
| Constructor and Description |
|---|
Revision() |
| Modifier and Type | Method and Description |
|---|---|
Revision |
clone() |
boolean |
equals(Object obj) |
String |
getBranch()
The repository branch.
|
String |
getDirectory()
The repository directory changed by a commit and push that activated the sync attempt.
|
String |
getRepositoryName()
The repository name.
|
String |
getRepositoryProvider()
The repository provider.
|
String |
getSha()
The secure hash algorithm (SHA) hash for the revision.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBranch(String branch)
The repository branch.
|
void |
setDirectory(String directory)
The repository directory changed by a commit and push that activated the sync attempt.
|
void |
setRepositoryName(String repositoryName)
The repository name.
|
void |
setRepositoryProvider(String repositoryProvider)
The repository provider.
|
void |
setSha(String sha)
The secure hash algorithm (SHA) hash for the revision.
|
String |
toString()
Returns a string representation of this object.
|
Revision |
withBranch(String branch)
The repository branch.
|
Revision |
withDirectory(String directory)
The repository directory changed by a commit and push that activated the sync attempt.
|
Revision |
withRepositoryName(String repositoryName)
The repository name.
|
Revision |
withRepositoryProvider(RepositoryProvider repositoryProvider)
The repository provider.
|
Revision |
withRepositoryProvider(String repositoryProvider)
The repository provider.
|
Revision |
withSha(String sha)
The secure hash algorithm (SHA) hash for the revision.
|
public void setBranch(String branch)
The repository branch.
branch - The repository branch.public String getBranch()
The repository branch.
public Revision withBranch(String branch)
The repository branch.
branch - The repository branch.public void setDirectory(String directory)
The repository directory changed by a commit and push that activated the sync attempt.
directory - The repository directory changed by a commit and push that activated the sync attempt.public String getDirectory()
The repository directory changed by a commit and push that activated the sync attempt.
public Revision withDirectory(String directory)
The repository directory changed by a commit and push that activated the sync attempt.
directory - The repository directory changed by a commit and push that activated the sync attempt.public void setRepositoryName(String repositoryName)
The repository name.
repositoryName - The repository name.public String getRepositoryName()
The repository name.
public Revision withRepositoryName(String repositoryName)
The repository name.
repositoryName - The repository name.public void setRepositoryProvider(String repositoryProvider)
The repository provider.
repositoryProvider - The repository provider.RepositoryProviderpublic String getRepositoryProvider()
The repository provider.
RepositoryProviderpublic Revision withRepositoryProvider(String repositoryProvider)
The repository provider.
repositoryProvider - The repository provider.RepositoryProviderpublic Revision withRepositoryProvider(RepositoryProvider repositoryProvider)
The repository provider.
repositoryProvider - The repository provider.RepositoryProviderpublic void setSha(String sha)
The secure hash algorithm (SHA) hash for the revision.
sha - The secure hash algorithm (SHA) hash for the revision.public String getSha()
The secure hash algorithm (SHA) hash for the revision.
public Revision withSha(String sha)
The secure hash algorithm (SHA) hash for the revision.
sha - The secure hash algorithm (SHA) hash for the revision.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.