Class GitHubCodeDestination
- java.lang.Object
-
- software.amazon.awssdk.services.codestar.model.GitHubCodeDestination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GitHubCodeDestination.Builder,GitHubCodeDestination>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGitHubCodeDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GitHubCodeDestination.Builderbuilder()Stringdescription()Description for the GitHub repository to be created in AWS CodeStar.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanissuesEnabled()Whether to enable issues for the GitHub repository.Stringname()Name of the GitHub repository to be created in AWS CodeStar.Stringowner()The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar.BooleanprivateRepository()Whether the GitHub repository is to be a private repository.List<SdkField<?>>sdkFields()static Class<? extends GitHubCodeDestination.Builder>serializableBuilderClass()GitHubCodeDestination.BuildertoBuilder()Stringtoken()The GitHub user's personal access token for the GitHub repository.StringtoString()Returns a string representation of this object.Stringtype()The type of GitHub repository to be created in AWS CodeStar.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
Name of the GitHub repository to be created in AWS CodeStar.
- Returns:
- Name of the GitHub repository to be created in AWS CodeStar.
-
description
public final String description()
Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.
- Returns:
- Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.
-
type
public final String type()
The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.
- Returns:
- The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.
-
owner
public final 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.
- Returns:
- 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.
-
privateRepository
public final Boolean privateRepository()
Whether the GitHub repository is to be a private repository.
- Returns:
- Whether the GitHub repository is to be a private repository.
-
issuesEnabled
public final Boolean issuesEnabled()
Whether to enable issues for the GitHub repository.
- Returns:
- Whether to enable issues for the GitHub repository.
-
token
public final String token()
The GitHub user's personal access token for the GitHub repository.
- Returns:
- The GitHub user's personal access token for the GitHub repository.
-
toBuilder
public GitHubCodeDestination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GitHubCodeDestination.Builder,GitHubCodeDestination>
-
builder
public static GitHubCodeDestination.Builder builder()
-
serializableBuilderClass
public static Class<? extends GitHubCodeDestination.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-