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

Class CodeReviewSummary

    • Constructor Detail

      • CodeReviewSummary

        public CodeReviewSummary()
    • Method Detail

      • setName

        public void setName(String name)

        The name of the code review.

        Parameters:
        name - The name of the code review.
      • getName

        public String getName()

        The name of the code review.

        Returns:
        The name of the code review.
      • withName

        public CodeReviewSummary withName(String name)

        The name of the code review.

        Parameters:
        name - The name of the code review.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCodeReviewArn

        public void setCodeReviewArn(String codeReviewArn)

        The Amazon Resource Name (ARN) of the CodeReview object.

        Parameters:
        codeReviewArn - The Amazon Resource Name (ARN) of the CodeReview object.
      • getCodeReviewArn

        public String getCodeReviewArn()

        The Amazon Resource Name (ARN) of the CodeReview object.

        Returns:
        The Amazon Resource Name (ARN) of the CodeReview object.
      • withCodeReviewArn

        public CodeReviewSummary withCodeReviewArn(String codeReviewArn)

        The Amazon Resource Name (ARN) of the CodeReview object.

        Parameters:
        codeReviewArn - The Amazon Resource Name (ARN) of the CodeReview object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRepositoryName

        public void setRepositoryName(String repositoryName)

        The name of the repository.

        Parameters:
        repositoryName - The name of the repository.
      • getRepositoryName

        public String getRepositoryName()

        The name of the repository.

        Returns:
        The name of the repository.
      • withRepositoryName

        public CodeReviewSummary withRepositoryName(String repositoryName)

        The name of the repository.

        Parameters:
        repositoryName - The name of the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOwner

        public void setOwner(String owner)

        The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

        Parameters:
        owner - The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.
      • getOwner

        public String getOwner()

        The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

        Returns:
        The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.
      • withOwner

        public CodeReviewSummary withOwner(String owner)

        The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

        Parameters:
        owner - The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setProviderType

        public void setProviderType(String providerType)

        The provider type of the repository association.

        Parameters:
        providerType - The provider type of the repository association.
        See Also:
        ProviderType
      • getProviderType

        public String getProviderType()

        The provider type of the repository association.

        Returns:
        The provider type of the repository association.
        See Also:
        ProviderType
      • withProviderType

        public CodeReviewSummary withProviderType(String providerType)

        The provider type of the repository association.

        Parameters:
        providerType - The provider type of the repository association.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProviderType
      • withProviderType

        public CodeReviewSummary withProviderType(ProviderType providerType)

        The provider type of the repository association.

        Parameters:
        providerType - The provider type of the repository association.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProviderType
      • setState

        public void setState(String state)

        The state of the code review.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Parameters:
        state - The state of the code review.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        See Also:
        JobState
      • getState

        public String getState()

        The state of the code review.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Returns:
        The state of the code review.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        See Also:
        JobState
      • withState

        public CodeReviewSummary withState(String state)

        The state of the code review.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Parameters:
        state - The state of the code review.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobState
      • withState

        public CodeReviewSummary withState(JobState state)

        The state of the code review.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Parameters:
        state - The state of the code review.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobState
      • setCreatedTimeStamp

        public void setCreatedTimeStamp(Date createdTimeStamp)

        The time, in milliseconds since the epoch, when the code review was created.

        Parameters:
        createdTimeStamp - The time, in milliseconds since the epoch, when the code review was created.
      • getCreatedTimeStamp

        public Date getCreatedTimeStamp()

        The time, in milliseconds since the epoch, when the code review was created.

        Returns:
        The time, in milliseconds since the epoch, when the code review was created.
      • withCreatedTimeStamp

        public CodeReviewSummary withCreatedTimeStamp(Date createdTimeStamp)

        The time, in milliseconds since the epoch, when the code review was created.

        Parameters:
        createdTimeStamp - The time, in milliseconds since the epoch, when the code review was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastUpdatedTimeStamp

        public void setLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)

        The time, in milliseconds since the epoch, when the code review was last updated.

        Parameters:
        lastUpdatedTimeStamp - The time, in milliseconds since the epoch, when the code review was last updated.
      • getLastUpdatedTimeStamp

        public Date getLastUpdatedTimeStamp()

        The time, in milliseconds since the epoch, when the code review was last updated.

        Returns:
        The time, in milliseconds since the epoch, when the code review was last updated.
      • withLastUpdatedTimeStamp

        public CodeReviewSummary withLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)

        The time, in milliseconds since the epoch, when the code review was last updated.

        Parameters:
        lastUpdatedTimeStamp - The time, in milliseconds since the epoch, when the code review was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        public void setType(String type)

        The type of the code review.

        Parameters:
        type - The type of the code review.
        See Also:
        Type
      • getType

        public String getType()

        The type of the code review.

        Returns:
        The type of the code review.
        See Also:
        Type
      • withType

        public CodeReviewSummary withType(String type)

        The type of the code review.

        Parameters:
        type - The type of the code review.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Type
      • withType

        public CodeReviewSummary withType(Type type)

        The type of the code review.

        Parameters:
        type - The type of the code review.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Type
      • setPullRequestId

        public void setPullRequestId(String pullRequestId)

        The pull request ID for the code review.

        Parameters:
        pullRequestId - The pull request ID for the code review.
      • getPullRequestId

        public String getPullRequestId()

        The pull request ID for the code review.

        Returns:
        The pull request ID for the code review.
      • withPullRequestId

        public CodeReviewSummary withPullRequestId(String pullRequestId)

        The pull request ID for the code review.

        Parameters:
        pullRequestId - The pull request ID for the code review.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMetricsSummary

        public void setMetricsSummary(MetricsSummary metricsSummary)

        The statistics from the code review.

        Parameters:
        metricsSummary - The statistics from the code review.
      • getMetricsSummary

        public MetricsSummary getMetricsSummary()

        The statistics from the code review.

        Returns:
        The statistics from the code review.
      • withMetricsSummary

        public CodeReviewSummary withMetricsSummary(MetricsSummary metricsSummary)

        The statistics from the code review.

        Parameters:
        metricsSummary - The statistics from the code review.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSourceCodeType

        public void setSourceCodeType(SourceCodeType sourceCodeType)
        Parameters:
        sourceCodeType -
      • getSourceCodeType

        public SourceCodeType getSourceCodeType()
        Returns:
      • withSourceCodeType

        public CodeReviewSummary withSourceCodeType(SourceCodeType sourceCodeType)
        Parameters:
        sourceCodeType -
        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 によって変換されたページ (->オリジナル) /