Interface DescribeContributorInsightsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeContributorInsightsResponse.Builder,DescribeContributorInsightsResponse>,DynamoDbResponse.Builder,SdkBuilder<DescribeContributorInsightsResponse.Builder,DescribeContributorInsightsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeContributorInsightsResponse
@Mutable @NotThreadSafe public static interface DescribeContributorInsightsResponse.Builder extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<DescribeContributorInsightsResponse.Builder,DescribeContributorInsightsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeContributorInsightsResponse.BuildercontributorInsightsMode(String contributorInsightsMode)The mode of CloudWatch Contributor Insights for DynamoDB that determines which events are emitted.DescribeContributorInsightsResponse.BuildercontributorInsightsMode(ContributorInsightsMode contributorInsightsMode)The mode of CloudWatch Contributor Insights for DynamoDB that determines which events are emitted.DescribeContributorInsightsResponse.BuildercontributorInsightsRuleList(String... contributorInsightsRuleList)List of names of the associated contributor insights rules.DescribeContributorInsightsResponse.BuildercontributorInsightsRuleList(Collection<String> contributorInsightsRuleList)List of names of the associated contributor insights rules.DescribeContributorInsightsResponse.BuildercontributorInsightsStatus(String contributorInsightsStatus)Current status of contributor insights.DescribeContributorInsightsResponse.BuildercontributorInsightsStatus(ContributorInsightsStatus contributorInsightsStatus)Current status of contributor insights.default DescribeContributorInsightsResponse.BuilderfailureException(Consumer<FailureException.Builder> failureException)Returns information about the last failure that was encountered.DescribeContributorInsightsResponse.BuilderfailureException(FailureException failureException)Returns information about the last failure that was encountered.DescribeContributorInsightsResponse.BuilderindexName(String indexName)The name of the global secondary index being described.DescribeContributorInsightsResponse.BuilderlastUpdateDateTime(Instant lastUpdateDateTime)Timestamp of the last time the status was changed.DescribeContributorInsightsResponse.BuildertableName(String tableName)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
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.
-
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,ContributorInsightsStatus
-
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:
ContributorInsightsStatus,ContributorInsightsStatus
-
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.
FailureException.Builderavoiding the need to create one manually viaFailureException.builder().When the
Consumercompletes,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:
failureException(FailureException)
-
-
contributorInsightsMode
DescribeContributorInsightsResponse.Builder contributorInsightsMode(String contributorInsightsMode)
The mode of CloudWatch Contributor Insights for DynamoDB that determines which events are emitted. Can be set to track all access and throttled events or throttled events only.
- Parameters:
contributorInsightsMode- The mode of CloudWatch Contributor Insights for DynamoDB that determines which events are emitted. Can be set to track all access and throttled events or throttled events only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContributorInsightsMode,ContributorInsightsMode
-
contributorInsightsMode
DescribeContributorInsightsResponse.Builder contributorInsightsMode(ContributorInsightsMode contributorInsightsMode)
The mode of CloudWatch Contributor Insights for DynamoDB that determines which events are emitted. Can be set to track all access and throttled events or throttled events only.
- Parameters:
contributorInsightsMode- The mode of CloudWatch Contributor Insights for DynamoDB that determines which events are emitted. Can be set to track all access and throttled events or throttled events only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContributorInsightsMode,ContributorInsightsMode
-
-