Interface ListKeyGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<ListKeyGroupsResponse.Builder,
,ListKeyGroupsResponse> SdkBuilder<ListKeyGroupsResponse.Builder,
,ListKeyGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListKeyGroupsResponse
public static interface ListKeyGroupsResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListKeyGroupsResponse.Builder,ListKeyGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListKeyGroupsResponse.Builder
keyGroupList
(Consumer<KeyGroupList.Builder> keyGroupList) A list of key groups.keyGroupList
(KeyGroupList keyGroupList) A list of key groups.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
keyGroupList
A list of key groups.
- Parameters:
keyGroupList
- A list of key groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyGroupList
A list of key groups.
This is a convenience method that creates an instance of theKeyGroupList.Builder
avoiding the need to create one manually viaKeyGroupList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyGroupList(KeyGroupList)
.- Parameters:
keyGroupList
- a consumer that will call methods onKeyGroupList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-