@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GitHubCodeDestination extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
GitHubCodeDestination() |
Modifier and Type | Method and Description |
---|---|
GitHubCodeDestination |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
Description for the GitHub repository to be created in AWS CodeStar.
|
Boolean |
getIssuesEnabled()
Whether to enable issues for the GitHub repository.
|
String |
getName()
Name of the GitHub repository to be created in AWS CodeStar.
|
String |
getOwner()
The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar.
|
Boolean |
getPrivateRepository()
Whether the GitHub repository is to be a private repository.
|
String |
getToken()
The GitHub user's personal access token for the GitHub repository.
|
String |
getType()
The type of GitHub repository to be created in AWS CodeStar.
|
int |
hashCode() |
Boolean |
isPrivateRepository()
Whether the GitHub repository is to be a private repository.
|
Boolean |
issuesEnabled()
Whether to enable issues for the GitHub repository.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
Description for the GitHub repository to be created in AWS CodeStar.
|
void |
setIssuesEnabled(Boolean issuesEnabled)
Whether to enable issues for the GitHub repository.
|
void |
setName(String name)
Name of the GitHub repository to be created in AWS CodeStar.
|
void |
setOwner(String owner)
The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar.
|
void |
setPrivateRepository(Boolean privateRepository)
Whether the GitHub repository is to be a private repository.
|
void |
setToken(String token)
The GitHub user's personal access token for the GitHub repository.
|
void |
setType(String type)
The type of GitHub repository to be created in AWS CodeStar.
|
String |
toString()
Returns a string representation of this object.
|
GitHubCodeDestination |
withDescription(String description)
Description for the GitHub repository to be created in AWS CodeStar.
|
GitHubCodeDestination |
withIssuesEnabled(Boolean issuesEnabled)
Whether to enable issues for the GitHub repository.
|
GitHubCodeDestination |
withName(String name)
Name of the GitHub repository to be created in AWS CodeStar.
|
GitHubCodeDestination |
withOwner(String owner)
The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar.
|
GitHubCodeDestination |
withPrivateRepository(Boolean privateRepository)
Whether the GitHub repository is to be a private repository.
|
GitHubCodeDestination |
withToken(String token)
The GitHub user's personal access token for the GitHub repository.
|
GitHubCodeDestination |
withType(String type)
The type of GitHub repository to be created in AWS CodeStar.
|
public void setName(String name)
Name of the GitHub repository to be created in AWS CodeStar.
name
- Name of the GitHub repository to be created in AWS CodeStar.public String getName()
Name of the GitHub repository to be created in AWS CodeStar.
public GitHubCodeDestination withName(String name)
Name of the GitHub repository to be created in AWS CodeStar.
name
- Name of the GitHub repository to be created in AWS CodeStar.public void setDescription(String description)
Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.
description
- Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub
after the repository is created.public String getDescription()
Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.
public GitHubCodeDestination withDescription(String description)
Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.
description
- Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub
after the repository is created.public void setType(String type)
The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.
type
- The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.public String getType()
The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.
public GitHubCodeDestination withType(String type)
The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.
type
- The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.public void setOwner(String owner)
The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this repository should be owned by a GitHub organization, provide its name.
owner
- The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this
repository should be owned by a GitHub organization, provide its name.public String getOwner()
The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this repository should be owned by a GitHub organization, provide its name.
public GitHubCodeDestination withOwner(String owner)
The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this repository should be owned by a GitHub organization, provide its name.
owner
- The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this
repository should be owned by a GitHub organization, provide its name.public void setPrivateRepository(Boolean privateRepository)
Whether the GitHub repository is to be a private repository.
privateRepository
- Whether the GitHub repository is to be a private repository.public Boolean getPrivateRepository()
Whether the GitHub repository is to be a private repository.
public GitHubCodeDestination withPrivateRepository(Boolean privateRepository)
Whether the GitHub repository is to be a private repository.
privateRepository
- Whether the GitHub repository is to be a private repository.public Boolean isPrivateRepository()
Whether the GitHub repository is to be a private repository.
public void setIssuesEnabled(Boolean issuesEnabled)
Whether to enable issues for the GitHub repository.
issuesEnabled
- Whether to enable issues for the GitHub repository.public Boolean getIssuesEnabled()
Whether to enable issues for the GitHub repository.
public GitHubCodeDestination withIssuesEnabled(Boolean issuesEnabled)
Whether to enable issues for the GitHub repository.
issuesEnabled
- Whether to enable issues for the GitHub repository.public Boolean issuesEnabled()
Whether to enable issues for the GitHub repository.
public void setToken(String token)
The GitHub user's personal access token for the GitHub repository.
token
- The GitHub user's personal access token for the GitHub repository.public String getToken()
The GitHub user's personal access token for the GitHub repository.
public GitHubCodeDestination withToken(String token)
The GitHub user's personal access token for the GitHub repository.
token
- The GitHub user's personal access token for the GitHub repository.public String toString()
toString
in class Object
Object.toString()
public GitHubCodeDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.