Interface DescribeIndexPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchLogsResponse.Builder
,CopyableBuilder<DescribeIndexPoliciesResponse.Builder,
,DescribeIndexPoliciesResponse> SdkBuilder<DescribeIndexPoliciesResponse.Builder,
,DescribeIndexPoliciesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeIndexPoliciesResponse
@Mutable
@NotThreadSafe
public static interface DescribeIndexPoliciesResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<DescribeIndexPoliciesResponse.Builder,DescribeIndexPoliciesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionindexPolicies
(Collection<IndexPolicy> indexPolicies) An array containing the field index policies.indexPolicies
(Consumer<IndexPolicy.Builder>... indexPolicies) An array containing the field index policies.indexPolicies
(IndexPolicy... indexPolicies) An array containing the field index policies.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
indexPolicies
An array containing the field index policies.
- Parameters:
indexPolicies
- An array containing the field index policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexPolicies
An array containing the field index policies.
- Parameters:
indexPolicies
- An array containing the field index policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexPolicies
An array containing the field index policies.
This is a convenience method that creates an instance of theIndexPolicy.Builder
avoiding the need to create one manually viaIndexPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toindexPolicies(List<IndexPolicy>)
.- Parameters:
indexPolicies
- a consumer that will call methods onIndexPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-