Interface PutIndexPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<PutIndexPolicyResponse.Builder,PutIndexPolicyResponse>,SdkBuilder<PutIndexPolicyResponse.Builder,PutIndexPolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PutIndexPolicyResponse
public static interface PutIndexPolicyResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<PutIndexPolicyResponse.Builder,PutIndexPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PutIndexPolicyResponse.BuilderindexPolicy(Consumer<IndexPolicy.Builder> indexPolicy)The index policy that you just created or updated.PutIndexPolicyResponse.BuilderindexPolicy(IndexPolicy indexPolicy)The index policy that you just created or updated.-
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
-
indexPolicy
PutIndexPolicyResponse.Builder indexPolicy(IndexPolicy indexPolicy)
The index policy that you just created or updated.
- Parameters:
indexPolicy- The index policy that you just created or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexPolicy
default PutIndexPolicyResponse.Builder indexPolicy(Consumer<IndexPolicy.Builder> indexPolicy)
The index policy that you just created or updated.
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 toindexPolicy(IndexPolicy).- Parameters:
indexPolicy- 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:
indexPolicy(IndexPolicy)
-
-