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
Modifier and TypeMethodDescriptiondescription
(String description) Description for the GitHub repository to be created in AWS CodeStar.issuesEnabled
(Boolean issuesEnabled) Whether to enable issues for the GitHub repository.Name of the GitHub repository to be created in AWS CodeStar.The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar.privateRepository
(Boolean privateRepository) Whether the GitHub repository is to be a private repository.The GitHub user's personal access token for the GitHub repository.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 Details
-
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
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
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
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
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
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
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.
-