@Generated(value="software.amazon.awssdk:codegen") public final class GitHubCodeDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GitHubCodeDestination.Builder,GitHubCodeDestination>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
GitHubCodeDestination.Builder |
Modifier and Type | Method and Description |
---|---|
static GitHubCodeDestination.Builder |
builder() |
String |
description()
Description for the GitHub repository to be created in AWS CodeStar.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
issuesEnabled()
Whether to enable issues for the GitHub repository.
|
String |
name()
Name of the GitHub repository to be created in AWS CodeStar.
|
String |
owner()
The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar.
|
Boolean |
privateRepository()
Whether the GitHub repository is to be a private repository.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GitHubCodeDestination.Builder> |
serializableBuilderClass() |
GitHubCodeDestination.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
token()
The GitHub user's personal access token for the GitHub repository.
|
String |
toString() |
String |
type()
The type of GitHub repository to be created in AWS CodeStar.
|
copy
public String name()
Name of the GitHub repository to be created in AWS CodeStar.
public String description()
Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.
public String type()
The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.
public 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.
public Boolean privateRepository()
Whether the GitHub repository is to be a private repository.
public Boolean issuesEnabled()
Whether to enable issues for the GitHub repository.
public String token()
The GitHub user's personal access token for the GitHub repository.
public GitHubCodeDestination.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GitHubCodeDestination.Builder,GitHubCodeDestination>
public static GitHubCodeDestination.Builder builder()
public static Class<? extends GitHubCodeDestination.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.