Interface CreateKeyGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<CreateKeyGroupResponse.Builder,
,CreateKeyGroupResponse> SdkBuilder<CreateKeyGroupResponse.Builder,
,CreateKeyGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateKeyGroupResponse
public static interface CreateKeyGroupResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateKeyGroupResponse.Builder,CreateKeyGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for this version of the key group.default CreateKeyGroupResponse.Builder
keyGroup
(Consumer<KeyGroup.Builder> keyGroup) The key group that was just created.The key group that was just created.The URL of the key group.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 created.
- Parameters:
keyGroup
- The key group that was just created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyGroup
The key group that was just created.
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:
-
location
The URL of the key group.
- Parameters:
location
- The URL of the key group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-