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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateKeyGroupResponse.Builder
eTag(String eTag)
The identifier for this version of the key group.default CreateKeyGroupResponse.Builder
keyGroup(Consumer<KeyGroup.Builder> keyGroup)
The key group that was just created.CreateKeyGroupResponse.Builder
keyGroup(KeyGroup keyGroup)
The key group that was just created.CreateKeyGroupResponse.Builder
location(String location)
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 Detail
-
keyGroup
CreateKeyGroupResponse.Builder keyGroup(KeyGroup 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
default CreateKeyGroupResponse.Builder keyGroup(Consumer<KeyGroup.Builder> 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:
keyGroup(KeyGroup)
-
location
CreateKeyGroupResponse.Builder location(String 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
CreateKeyGroupResponse.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.
-
-