Interface ListKeyGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<ListKeyGroupsResponse.Builder,ListKeyGroupsResponse>,SdkBuilder<ListKeyGroupsResponse.Builder,ListKeyGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListKeyGroupsResponse
@Mutable @NotThreadSafe public static interface ListKeyGroupsResponse.Builder extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListKeyGroupsResponse.Builder,ListKeyGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListKeyGroupsResponse.BuilderkeyGroupList(Consumer<KeyGroupList.Builder> keyGroupList)A list of key groups.ListKeyGroupsResponse.BuilderkeyGroupList(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
keyGroupList
ListKeyGroupsResponse.Builder keyGroupList(KeyGroupList 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
default ListKeyGroupsResponse.Builder keyGroupList(Consumer<KeyGroupList.Builder> 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:
keyGroupList(KeyGroupList)
-
-