Interface DescribeContributorInsightsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeContributorInsightsResponse.Builder,
,DescribeContributorInsightsResponse> DynamoDbResponse.Builder
,SdkBuilder<DescribeContributorInsightsResponse.Builder,
,DescribeContributorInsightsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeContributorInsightsResponse
-
Method Summary
Modifier and TypeMethodDescriptioncontributorInsightsRuleList
(String... contributorInsightsRuleList) List of names of the associated contributor insights rules.contributorInsightsRuleList
(Collection<String> contributorInsightsRuleList) List of names of the associated contributor insights rules.contributorInsightsStatus
(String contributorInsightsStatus) Current status of contributor insights.contributorInsightsStatus
(ContributorInsightsStatus contributorInsightsStatus) Current status of contributor insights.failureException
(Consumer<FailureException.Builder> failureException) Returns information about the last failure that was encountered.failureException
(FailureException failureException) Returns information about the last failure that was encountered.The name of the global secondary index being described.lastUpdateDateTime
(Instant lastUpdateDateTime) Timestamp of the last time the status was changed.The name of the table being described.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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
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.
FailureException.Builder
avoiding the need to create one manually viaFailureException.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailureException(FailureException)
.- Parameters:
failureException
- a consumer that will call methods onFailureException.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-