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.BuilderkeyGroupList(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaKeyGroupList.builder().When the
Consumercompletes,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:
-