Interface DescribeContributorInsightsResponse.Builder

    • Method Detail

      • tableName

        DescribeContributorInsightsResponse.Builder tableName​(String 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

        DescribeContributorInsightsResponse.Builder indexName​(String 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.
      • 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

        DescribeContributorInsightsResponse.Builder failureException​(FailureException 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

        default DescribeContributorInsightsResponse.Builder failureException​(Consumer<FailureException.Builder> 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:
        failureException(FailureException)