@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceCodeRepository extends Object implements Serializable, Cloneable, StructuredPojo
Object containing source code information that is linked to an application component.
Constructor and Description |
---|
SourceCodeRepository() |
Modifier and Type | Method and Description |
---|---|
SourceCodeRepository |
clone() |
boolean |
equals(Object obj) |
String |
getBranch()
The branch of the source code.
|
String |
getProjectName()
The name of the project.
|
String |
getRepository()
The repository name for the source code.
|
String |
getVersionControlType()
The type of repository to use for the source code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBranch(String branch)
The branch of the source code.
|
void |
setProjectName(String projectName)
The name of the project.
|
void |
setRepository(String repository)
The repository name for the source code.
|
void |
setVersionControlType(String versionControlType)
The type of repository to use for the source code.
|
String |
toString()
Returns a string representation of this object.
|
SourceCodeRepository |
withBranch(String branch)
The branch of the source code.
|
SourceCodeRepository |
withProjectName(String projectName)
The name of the project.
|
SourceCodeRepository |
withRepository(String repository)
The repository name for the source code.
|
SourceCodeRepository |
withVersionControlType(String versionControlType)
The type of repository to use for the source code.
|
public void setBranch(String branch)
The branch of the source code.
branch
- The branch of the source code.public String getBranch()
The branch of the source code.
public SourceCodeRepository withBranch(String branch)
The branch of the source code.
branch
- The branch of the source code.public void setProjectName(String projectName)
The name of the project.
projectName
- The name of the project.public String getProjectName()
The name of the project.
public SourceCodeRepository withProjectName(String projectName)
The name of the project.
projectName
- The name of the project.public void setRepository(String repository)
The repository name for the source code.
repository
- The repository name for the source code.public String getRepository()
The repository name for the source code.
public SourceCodeRepository withRepository(String repository)
The repository name for the source code.
repository
- The repository name for the source code.public void setVersionControlType(String versionControlType)
The type of repository to use for the source code.
versionControlType
- The type of repository to use for the source code.public String getVersionControlType()
The type of repository to use for the source code.
public SourceCodeRepository withVersionControlType(String versionControlType)
The type of repository to use for the source code.
versionControlType
- The type of repository to use for the source code.public String toString()
toString
in class Object
Object.toString()
public SourceCodeRepository clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.