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.codeconnections.model

Class Revision

    • Constructor Detail

      • Revision

        public Revision()
    • Method Detail

      • setBranch

        public void setBranch(String branch)

        The branch name for a specific revision.

        Parameters:
        branch - The branch name for a specific revision.
      • getBranch

        public String getBranch()

        The branch name for a specific revision.

        Returns:
        The branch name for a specific revision.
      • withBranch

        public Revision withBranch(String branch)

        The branch name for a specific revision.

        Parameters:
        branch - The branch name for a specific revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDirectory

        public void setDirectory(String directory)

        The directory, if any, for a specific revision.

        Parameters:
        directory - The directory, if any, for a specific revision.
      • getDirectory

        public String getDirectory()

        The directory, if any, for a specific revision.

        Returns:
        The directory, if any, for a specific revision.
      • withDirectory

        public Revision withDirectory(String directory)

        The directory, if any, for a specific revision.

        Parameters:
        directory - The directory, if any, for a specific revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOwnerId

        public void setOwnerId(String ownerId)

        The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.

        Parameters:
        ownerId - The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.
      • getOwnerId

        public String getOwnerId()

        The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.

        Returns:
        The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.
      • withOwnerId

        public Revision withOwnerId(String ownerId)

        The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.

        Parameters:
        ownerId - The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRepositoryName

        public void setRepositoryName(String repositoryName)

        The repository name for a specific revision.

        Parameters:
        repositoryName - The repository name for a specific revision.
      • getRepositoryName

        public String getRepositoryName()

        The repository name for a specific revision.

        Returns:
        The repository name for a specific revision.
      • withRepositoryName

        public Revision withRepositoryName(String repositoryName)

        The repository name for a specific revision.

        Parameters:
        repositoryName - The repository name for a specific revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setProviderType

        public void setProviderType(String providerType)

        The provider type for a revision, such as GitHub.

        Parameters:
        providerType - The provider type for a revision, such as GitHub.
        See Also:
        ProviderType
      • getProviderType

        public String getProviderType()

        The provider type for a revision, such as GitHub.

        Returns:
        The provider type for a revision, such as GitHub.
        See Also:
        ProviderType
      • withProviderType

        public Revision withProviderType(String providerType)

        The provider type for a revision, such as GitHub.

        Parameters:
        providerType - The provider type for a revision, such as GitHub.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProviderType
      • withProviderType

        public Revision withProviderType(ProviderType providerType)

        The provider type for a revision, such as GitHub.

        Parameters:
        providerType - The provider type for a revision, such as GitHub.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProviderType
      • setSha

        public void setSha(String sha)

        The SHA, such as the commit ID, for a specific revision.

        Parameters:
        sha - The SHA, such as the commit ID, for a specific revision.
      • getSha

        public String getSha()

        The SHA, such as the commit ID, for a specific revision.

        Returns:
        The SHA, such as the commit ID, for a specific revision.
      • withSha

        public Revision withSha(String sha)

        The SHA, such as the commit ID, for a specific revision.

        Parameters:
        sha - The SHA, such as the commit ID, for a specific revision.
        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 によって変換されたページ (->オリジナル) /