@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeDestination extends Object implements Serializable, Cloneable, StructuredPojo
The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.
Constructor and Description |
---|
CodeDestination() |
Modifier and Type | Method and Description |
---|---|
CodeDestination |
clone() |
boolean |
equals(Object obj) |
CodeCommitCodeDestination |
getCodeCommit()
Information about the AWS CodeCommit repository to be created in AWS CodeStar.
|
GitHubCodeDestination |
getGitHub()
Information about the GitHub repository to be created in AWS CodeStar.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCodeCommit(CodeCommitCodeDestination codeCommit)
Information about the AWS CodeCommit repository to be created in AWS CodeStar.
|
void |
setGitHub(GitHubCodeDestination gitHub)
Information about the GitHub repository to be created in AWS CodeStar.
|
String |
toString()
Returns a string representation of this object.
|
CodeDestination |
withCodeCommit(CodeCommitCodeDestination codeCommit)
Information about the AWS CodeCommit repository to be created in AWS CodeStar.
|
CodeDestination |
withGitHub(GitHubCodeDestination gitHub)
Information about the GitHub repository to be created in AWS CodeStar.
|
public void setCodeCommit(CodeCommitCodeDestination codeCommit)
Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
codeCommit
- Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source
code files provided with the project request will be uploaded after project creation.public CodeCommitCodeDestination getCodeCommit()
Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
public CodeDestination withCodeCommit(CodeCommitCodeDestination codeCommit)
Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
codeCommit
- Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source
code files provided with the project request will be uploaded after project creation.public void setGitHub(GitHubCodeDestination gitHub)
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
gitHub
- Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files
provided with the project request will be uploaded after project creation.public GitHubCodeDestination getGitHub()
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
public CodeDestination withGitHub(GitHubCodeDestination gitHub)
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
gitHub
- Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files
provided with the project request will be uploaded after project creation.public String toString()
toString
in class Object
Object.toString()
public CodeDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.