Interface GitHubCodeDestination.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GitHubCodeDestination.Builder,GitHubCodeDestination>,SdkBuilder<GitHubCodeDestination.Builder,GitHubCodeDestination>,SdkPojo
- Enclosing class:
- GitHubCodeDestination
public static interface GitHubCodeDestination.Builder extends SdkPojo, CopyableBuilder<GitHubCodeDestination.Builder,GitHubCodeDestination>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GitHubCodeDestination.Builderdescription(String description)Description for the GitHub repository to be created in AWS CodeStar.GitHubCodeDestination.BuilderissuesEnabled(Boolean issuesEnabled)Whether to enable issues for the GitHub repository.GitHubCodeDestination.Buildername(String name)Name of the GitHub repository to be created in AWS CodeStar.GitHubCodeDestination.Builderowner(String owner)The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar.GitHubCodeDestination.BuilderprivateRepository(Boolean privateRepository)Whether the GitHub repository is to be a private repository.GitHubCodeDestination.Buildertoken(String token)The GitHub user's personal access token for the GitHub repository.GitHubCodeDestination.Buildertype(String type)The type of GitHub repository to be created in AWS CodeStar.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
GitHubCodeDestination.Builder name(String name)
Name of the GitHub repository to be created in AWS CodeStar.
- Parameters:
name- Name of the GitHub repository to be created in AWS CodeStar.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GitHubCodeDestination.Builder description(String description)
Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.
- Parameters:
description- Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
GitHubCodeDestination.Builder type(String type)
The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.
- Parameters:
type- The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
GitHubCodeDestination.Builder owner(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
privateRepository
GitHubCodeDestination.Builder privateRepository(Boolean privateRepository)
Whether the GitHub repository is to be a private repository.
- Parameters:
privateRepository- Whether the GitHub repository is to be a private repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuesEnabled
GitHubCodeDestination.Builder issuesEnabled(Boolean issuesEnabled)
Whether to enable issues for the GitHub repository.
- Parameters:
issuesEnabled- Whether to enable issues for the GitHub repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
token
GitHubCodeDestination.Builder token(String token)
The GitHub user's personal access token for the GitHub repository.
- Parameters:
token- The GitHub user's personal access token for the GitHub repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-