JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codestar.model

Class GitHubCodeDestination

    • Constructor Detail

      • GitHubCodeDestination

        public GitHubCodeDestination()
    • Method Detail

      • setName

        public void setName(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.
      • getName

        public String getName()

        Name of the GitHub repository to be created in AWS CodeStar.

        Returns:
        Name of the GitHub repository to be created in AWS CodeStar.
      • withName

        public GitHubCodeDestination withName(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.
      • setDescription

        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.

        Parameters:
        description - Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.
      • getDescription

        public String getDescription()

        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.
      • withDescription

        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.

        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.
      • setType

        public void setType(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.
      • getType

        public String getType()

        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.
      • withType

        public GitHubCodeDestination withType(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.
      • setOwner

        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.

        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.
      • getOwner

        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.

        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.
      • withOwner

        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.

        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.
      • setPrivateRepository

        public void setPrivateRepository(Boolean privateRepository)

        Whether the GitHub repository is to be a private repository.

        Parameters:
        privateRepository - Whether the GitHub repository is to be a private repository.
      • getPrivateRepository

        public Boolean getPrivateRepository()

        Whether the GitHub repository is to be a private repository.

        Returns:
        Whether the GitHub repository is to be a private repository.
      • withPrivateRepository

        public GitHubCodeDestination withPrivateRepository(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.
      • isPrivateRepository

        public Boolean isPrivateRepository()

        Whether the GitHub repository is to be a private repository.

        Returns:
        Whether the GitHub repository is to be a private repository.
      • setIssuesEnabled

        public void setIssuesEnabled(Boolean issuesEnabled)

        Whether to enable issues for the GitHub repository.

        Parameters:
        issuesEnabled - Whether to enable issues for the GitHub repository.
      • getIssuesEnabled

        public Boolean getIssuesEnabled()

        Whether to enable issues for the GitHub repository.

        Returns:
        Whether to enable issues for the GitHub repository.
      • withIssuesEnabled

        public GitHubCodeDestination withIssuesEnabled(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.
      • issuesEnabled

        public Boolean issuesEnabled()

        Whether to enable issues for the GitHub repository.

        Returns:
        Whether to enable issues for the GitHub repository.
      • setToken

        public void setToken(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.
      • getToken

        public String getToken()

        The GitHub user's personal access token for the GitHub repository.

        Returns:
        The GitHub user's personal access token for the GitHub repository.
      • withToken

        public GitHubCodeDestination withToken(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.
      • toString

        public 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.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /