@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
SourceType
public String getSourceType()
The type of repository.
Git
Zip
Git
Zip
SourceType
public SourceBuildInformation withSourceType(String sourceType)
The type of repository.
Git
Zip
sourceType
- The type of repository.
Git
Zip
SourceType
public void setSourceType(SourceType sourceType)
The type of repository.
Git
Zip
sourceType
- The type of repository.
Git
Zip
SourceType
public SourceBuildInformation withSourceType(SourceType sourceType)
The type of repository.
Git
Zip
sourceType
- The type of repository.
Git
Zip
SourceType
public void setSourceRepository(String sourceRepository)
Location where the repository is stored.
CodeCommit
S3
sourceRepository
- Location where the repository is stored.
CodeCommit
S3
SourceRepository
public String getSourceRepository()
Location where the repository is stored.
CodeCommit
S3
CodeCommit
S3
SourceRepository
public SourceBuildInformation withSourceRepository(String sourceRepository)
Location where the repository is stored.
CodeCommit
S3
sourceRepository
- Location where the repository is stored.
CodeCommit
S3
SourceRepository
public void setSourceRepository(SourceRepository sourceRepository)
Location where the repository is stored.
CodeCommit
S3
sourceRepository
- Location where the repository is stored.
CodeCommit
S3
SourceRepository
public SourceBuildInformation withSourceRepository(SourceRepository sourceRepository)
Location where the repository is stored.
CodeCommit
S3
sourceRepository
- Location where the repository is stored.
CodeCommit
S3
SourceRepository
public 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 Object
Object.toString()
public SourceBuildInformation clone()