JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

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 Code

    • Constructor Detail

      • Code

        public Code()
    • Method Detail

      • setSource

        public void setSource(CodeSource source)

        The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.

        Parameters:
        source - The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
      • getSource

        public CodeSource getSource()

        The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.

        Returns:
        The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
      • withSource

        public Code withSource(CodeSource source)

        The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.

        Parameters:
        source - The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDestination

        public void setDestination(CodeDestination destination)

        The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.

        Parameters:
        destination - The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.
      • getDestination

        public CodeDestination getDestination()

        The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.

        Returns:
        The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.
      • withDestination

        public Code withDestination(CodeDestination destination)

        The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.

        Parameters:
        destination - The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the 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 によって変換されたページ (->オリジナル) /