Interface DescribeIndexPoliciesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<DescribeIndexPoliciesResponse.Builder,DescribeIndexPoliciesResponse>,SdkBuilder<DescribeIndexPoliciesResponse.Builder,DescribeIndexPoliciesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeIndexPoliciesResponse
public static interface DescribeIndexPoliciesResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<DescribeIndexPoliciesResponse.Builder,DescribeIndexPoliciesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeIndexPoliciesResponse.BuilderindexPolicies(Collection<IndexPolicy> indexPolicies)An array containing the field index policies.DescribeIndexPoliciesResponse.BuilderindexPolicies(Consumer<IndexPolicy.Builder>... indexPolicies)An array containing the field index policies.DescribeIndexPoliciesResponse.BuilderindexPolicies(IndexPolicy... indexPolicies)An array containing the field index policies.DescribeIndexPoliciesResponse.BuildernextToken(String nextToken)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 Detail
-
indexPolicies
DescribeIndexPoliciesResponse.Builder indexPolicies(Collection<IndexPolicy> 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
DescribeIndexPoliciesResponse.Builder indexPolicies(IndexPolicy... 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
DescribeIndexPoliciesResponse.Builder indexPolicies(Consumer<IndexPolicy.Builder>... indexPolicies)
An array containing the field index policies.
This is a convenience method that creates an instance of theIndexPolicy.Builderavoiding the need to create one manually viaIndexPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#indexPolicies(List.) - 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:
#indexPolicies(java.util.Collection)
-
nextToken
DescribeIndexPoliciesResponse.Builder nextToken(String 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.
-
-