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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateKeyGroupResponse.BuildereTag(String eTag)The identifier for this version of the key group.default UpdateKeyGroupResponse.BuilderkeyGroup(Consumer<KeyGroup.Builder> keyGroup)The key group that was just updated.UpdateKeyGroupResponse.BuilderkeyGroup(KeyGroup keyGroup)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 Detail
-
keyGroup
UpdateKeyGroupResponse.Builder keyGroup(KeyGroup 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
default UpdateKeyGroupResponse.Builder keyGroup(Consumer<KeyGroup.Builder> keyGroup)
The key group that was just updated.
This is a convenience method that creates an instance of theKeyGroup.Builderavoiding the need to create one manually viaKeyGroup.builder().When the
Consumercompletes,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:
keyGroup(KeyGroup)
-
eTag
UpdateKeyGroupResponse.Builder eTag(String 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.
-
-