@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 location of the source code, as a formatted string, depending on the value of
SourceRepository |
String |
getSourceRepository()
Location where the repository is stored.
|
String |
getSourceType()
The type of repository.
|
int |
hashCode() |
void |
setSourceLocation(String sourceLocation)
The location of the source code, as a formatted string, depending on the value of
SourceRepository |
void |
setSourceRepository(SourceRepository sourceRepository)
Location where the repository is stored.
|
void |
setSourceRepository(String sourceRepository)
Location where the repository is stored.
|
void |
setSourceType(SourceType sourceType)
The type of repository.
|
void |
setSourceType(String sourceType)
The type of repository.
|
String |
toString()
Returns a string representation of this object.
|
SourceBuildInformation |
withSourceLocation(String sourceLocation)
The location of the source code, as a formatted string, depending on the value of
SourceRepository |
SourceBuildInformation |
withSourceRepository(SourceRepository sourceRepository)
Location where the repository is stored.
|
SourceBuildInformation |
withSourceRepository(String sourceRepository)
Location where the repository is stored.
|
SourceBuildInformation |
withSourceType(SourceType sourceType)
The type of repository.
|
SourceBuildInformation |
withSourceType(String sourceType)
The type of repository.
|
public void setSourceType(String sourceType)
The type of repository.
Git
Zip
sourceType - The type of repository.
Git
Zip
SourceTypepublic String getSourceType()
The type of repository.
Git
Zip
Git
Zip
SourceTypepublic SourceBuildInformation withSourceType(String sourceType)
The type of repository.
Git
Zip
sourceType - The type of repository.
Git
Zip
SourceTypepublic void setSourceType(SourceType sourceType)
The type of repository.
Git
Zip
sourceType - The type of repository.
Git
Zip
SourceTypepublic SourceBuildInformation withSourceType(SourceType sourceType)
The type of repository.
Git
Zip
sourceType - The type of repository.
Git
Zip
SourceTypepublic void setSourceRepository(String sourceRepository)
Location where the repository is stored.
CodeCommit
S3
sourceRepository - Location where the repository is stored.
CodeCommit
S3
SourceRepositorypublic String getSourceRepository()
Location where the repository is stored.
CodeCommit
S3
CodeCommit
S3
SourceRepositorypublic SourceBuildInformation withSourceRepository(String sourceRepository)
Location where the repository is stored.
CodeCommit
S3
sourceRepository - Location where the repository is stored.
CodeCommit
S3
SourceRepositorypublic void setSourceRepository(SourceRepository sourceRepository)
Location where the repository is stored.
CodeCommit
S3
sourceRepository - Location where the repository is stored.
CodeCommit
S3
SourceRepositorypublic SourceBuildInformation withSourceRepository(SourceRepository sourceRepository)
Location where the repository is stored.
CodeCommit
S3
sourceRepository - Location where the repository is stored.
CodeCommit
S3
SourceRepositorypublic void setSourceLocation(String sourceLocation)
The location of the source code, as a formatted string, depending on the value of SourceRepository
For CodeCommit, the format is the repository name and commit ID, separated by a forward slash. For
example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.
For S3, the format is the S3 bucket name and object key, separated by a forward slash. For example,
my-s3-bucket/Folders/my-source-file.
sourceLocation - The location of the source code, as a formatted string, depending on the value of
SourceRepository
For CodeCommit, the format is the repository name and commit ID, separated by a forward
slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.
For S3, the format is the S3 bucket name and object key, separated by a forward slash. For
example, my-s3-bucket/Folders/my-source-file.
public String getSourceLocation()
The location of the source code, as a formatted string, depending on the value of SourceRepository
For CodeCommit, the format is the repository name and commit ID, separated by a forward slash. For
example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.
For S3, the format is the S3 bucket name and object key, separated by a forward slash. For example,
my-s3-bucket/Folders/my-source-file.
SourceRepository
For CodeCommit, the format is the repository name and commit ID, separated by a forward
slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.
For S3, the format is the S3 bucket name and object key, separated by a forward slash. For
example, my-s3-bucket/Folders/my-source-file.
public SourceBuildInformation withSourceLocation(String sourceLocation)
The location of the source code, as a formatted string, depending on the value of SourceRepository
For CodeCommit, the format is the repository name and commit ID, separated by a forward slash. For
example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.
For S3, the format is the S3 bucket name and object key, separated by a forward slash. For example,
my-s3-bucket/Folders/my-source-file.
sourceLocation - The location of the source code, as a formatted string, depending on the value of
SourceRepository
For CodeCommit, the format is the repository name and commit ID, separated by a forward
slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.
For S3, the format is the S3 bucket name and object key, separated by a forward slash. For
example, my-s3-bucket/Folders/my-source-file.
public String toString()
toString in class ObjectObject.toString()public SourceBuildInformation clone()