Interface DescribeContributorInsightsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeContributorInsightsResponse.Builder,DescribeContributorInsightsResponse>, DynamoDbResponse.Builder, SdkBuilder<DescribeContributorInsightsResponse.Builder,DescribeContributorInsightsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeContributorInsightsResponse

public static interface DescribeContributorInsightsResponse.Builder extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<DescribeContributorInsightsResponse.Builder,DescribeContributorInsightsResponse>
  • Method Details

    • tableName

      The name of the table being described.

      Parameters:
      tableName - The name of the table being described.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • indexName

      The name of the global secondary index being described.

      Parameters:
      indexName - The name of the global secondary index being described.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contributorInsightsRuleList

      DescribeContributorInsightsResponse.Builder contributorInsightsRuleList(Collection<String> contributorInsightsRuleList)

      List of names of the associated contributor insights rules.

      Parameters:
      contributorInsightsRuleList - List of names of the associated contributor insights rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contributorInsightsRuleList

      DescribeContributorInsightsResponse.Builder contributorInsightsRuleList(String... contributorInsightsRuleList)

      List of names of the associated contributor insights rules.

      Parameters:
      contributorInsightsRuleList - List of names of the associated contributor insights rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contributorInsightsStatus

      DescribeContributorInsightsResponse.Builder contributorInsightsStatus(String contributorInsightsStatus)

      Current status of contributor insights.

      Parameters:
      contributorInsightsStatus - Current status of contributor insights.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contributorInsightsStatus

      DescribeContributorInsightsResponse.Builder contributorInsightsStatus(ContributorInsightsStatus contributorInsightsStatus)

      Current status of contributor insights.

      Parameters:
      contributorInsightsStatus - Current status of contributor insights.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastUpdateDateTime

      DescribeContributorInsightsResponse.Builder lastUpdateDateTime(Instant lastUpdateDateTime)

      Timestamp of the last time the status was changed.

      Parameters:
      lastUpdateDateTime - Timestamp of the last time the status was changed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureException

      Returns information about the last failure that was encountered.

      The most common exceptions for a FAILED status are:

      • LimitExceededException - Per-account Amazon CloudWatch Contributor Insights rule limit reached. Please disable Contributor Insights for other tables/indexes OR disable Contributor Insights rules before retrying.

      • AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be modified due to insufficient permissions.

      • AccessDeniedException - Failed to create service-linked role for Contributor Insights due to insufficient permissions.

      • InternalServerError - Failed to create Amazon CloudWatch Contributor Insights rules. Please retry request.

      Parameters:
      failureException - Returns information about the last failure that was encountered.

      The most common exceptions for a FAILED status are:

      • LimitExceededException - Per-account Amazon CloudWatch Contributor Insights rule limit reached. Please disable Contributor Insights for other tables/indexes OR disable Contributor Insights rules before retrying.

      • AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be modified due to insufficient permissions.

      • AccessDeniedException - Failed to create service-linked role for Contributor Insights due to insufficient permissions.

      • InternalServerError - Failed to create Amazon CloudWatch Contributor Insights rules. Please retry request.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureException

      Returns information about the last failure that was encountered.

      The most common exceptions for a FAILED status are:

      • LimitExceededException - Per-account Amazon CloudWatch Contributor Insights rule limit reached. Please disable Contributor Insights for other tables/indexes OR disable Contributor Insights rules before retrying.

      • AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be modified due to insufficient permissions.

      • AccessDeniedException - Failed to create service-linked role for Contributor Insights due to insufficient permissions.

      • InternalServerError - Failed to create Amazon CloudWatch Contributor Insights rules. Please retry request.

      This is a convenience method that creates an instance of the FailureException.Builder avoiding the need to create one manually via FailureException.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to failureException(FailureException).

      Parameters:
      failureException - a consumer that will call methods on FailureException.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: