Interface UpdateKeyGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<UpdateKeyGroupResponse.Builder,
,UpdateKeyGroupResponse> SdkBuilder<UpdateKeyGroupResponse.Builder,
,UpdateKeyGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateKeyGroupResponse
public static interface UpdateKeyGroupResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<UpdateKeyGroupResponse.Builder,UpdateKeyGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for this version of the key group.default UpdateKeyGroupResponse.Builder
keyGroup
(Consumer<KeyGroup.Builder> keyGroup) The key group that was just updated.The key group that was just updated.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
-
keyGroup
The key group that was just updated.
- Parameters:
keyGroup
- The key group that was just updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyGroup
The key group that was just updated.
This is a convenience method that creates an instance of theKeyGroup.Builder
avoiding the need to create one manually viaKeyGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyGroup(KeyGroup)
.- Parameters:
keyGroup
- a consumer that will call methods onKeyGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eTag
The identifier for this version of the key group.
- Parameters:
eTag
- The identifier for this version of the key group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-