public class SourceBuildInformation extends Object implements Serializable, Cloneable
Location of the source code for an application version.
| Constructor and Description |
|---|
SourceBuildInformation() |
| Modifier and Type | Method and Description |
|---|---|
SourceBuildInformation |
clone() |
boolean |
equals(Object obj) |
String |
getSourceLocation()
The repository name and commit ID, separated by a forward slash.
|
String |
getSourceRepository()
Location where the repository is stored, such as
CodeCommit. |
String |
getSourceType()
The type of repository, such as
Git. |
int |
hashCode() |
void |
setSourceLocation(String sourceLocation)
The repository name and commit ID, separated by a forward slash.
|
void |
setSourceRepository(SourceRepository sourceRepository)
Location where the repository is stored, such as
CodeCommit. |
void |
setSourceRepository(String sourceRepository)
Location where the repository is stored, such as
CodeCommit. |
void |
setSourceType(SourceType sourceType)
The type of repository, such as
Git. |
void |
setSourceType(String sourceType)
The type of repository, such as
Git. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SourceBuildInformation |
withSourceLocation(String sourceLocation)
The repository name and commit ID, separated by a forward slash.
|
SourceBuildInformation |
withSourceRepository(SourceRepository sourceRepository)
Location where the repository is stored, such as
CodeCommit. |
SourceBuildInformation |
withSourceRepository(String sourceRepository)
Location where the repository is stored, such as
CodeCommit. |
SourceBuildInformation |
withSourceType(SourceType sourceType)
The type of repository, such as
Git. |
SourceBuildInformation |
withSourceType(String sourceType)
The type of repository, such as
Git. |
public void setSourceType(String sourceType)
The type of repository, such as Git.
sourceType - The type of repository, such as Git.SourceTypepublic String getSourceType()
The type of repository, such as Git.
Git.SourceTypepublic SourceBuildInformation withSourceType(String sourceType)
The type of repository, such as Git.
sourceType - The type of repository, such as Git.SourceTypepublic void setSourceType(SourceType sourceType)
The type of repository, such as Git.
sourceType - The type of repository, such as Git.SourceTypepublic SourceBuildInformation withSourceType(SourceType sourceType)
The type of repository, such as Git.
sourceType - The type of repository, such as Git.SourceTypepublic void setSourceRepository(String sourceRepository)
Location where the repository is stored, such as CodeCommit.
sourceRepository - Location where the repository is stored, such as CodeCommit.SourceRepositorypublic String getSourceRepository()
Location where the repository is stored, such as CodeCommit.
CodeCommit.SourceRepositorypublic SourceBuildInformation withSourceRepository(String sourceRepository)
Location where the repository is stored, such as CodeCommit.
sourceRepository - Location where the repository is stored, such as CodeCommit.SourceRepositorypublic void setSourceRepository(SourceRepository sourceRepository)
Location where the repository is stored, such as CodeCommit.
sourceRepository - Location where the repository is stored, such as CodeCommit.SourceRepositorypublic SourceBuildInformation withSourceRepository(SourceRepository sourceRepository)
Location where the repository is stored, such as CodeCommit.
sourceRepository - Location where the repository is stored, such as CodeCommit.SourceRepositorypublic void setSourceLocation(String sourceLocation)
The repository name and commit ID, separated by a forward slash. For example,
my-repo/265cfa0cf6af46153527f55d6503ec030551f57a.
sourceLocation - The repository name and commit ID, separated by a forward slash. For example,
my-repo/265cfa0cf6af46153527f55d6503ec030551f57a.public String getSourceLocation()
The repository name and commit ID, separated by a forward slash. For example,
my-repo/265cfa0cf6af46153527f55d6503ec030551f57a.
my-repo/265cfa0cf6af46153527f55d6503ec030551f57a.public SourceBuildInformation withSourceLocation(String sourceLocation)
The repository name and commit ID, separated by a forward slash. For example,
my-repo/265cfa0cf6af46153527f55d6503ec030551f57a.
sourceLocation - The repository name and commit ID, separated by a forward slash. For example,
my-repo/265cfa0cf6af46153527f55d6503ec030551f57a.public String toString()
toString in class ObjectObject.toString()public SourceBuildInformation clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.