Interface UpdateKeyGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFrontRequest.Builder
,CopyableBuilder<UpdateKeyGroupRequest.Builder,UpdateKeyGroupRequest>
,SdkBuilder<UpdateKeyGroupRequest.Builder,UpdateKeyGroupRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateKeyGroupRequest
public static interface UpdateKeyGroupRequest.Builder extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<UpdateKeyGroupRequest.Builder,UpdateKeyGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateKeyGroupRequest.Builder
id(String id)
The identifier of the key group that you are updating.UpdateKeyGroupRequest.Builder
ifMatch(String ifMatch)
The version of the key group that you are updating.default UpdateKeyGroupRequest.Builder
keyGroupConfig(Consumer<KeyGroupConfig.Builder> keyGroupConfig)
The key group configuration.UpdateKeyGroupRequest.Builder
keyGroupConfig(KeyGroupConfig keyGroupConfig)
The key group configuration.UpdateKeyGroupRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateKeyGroupRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
keyGroupConfig
UpdateKeyGroupRequest.Builder keyGroupConfig(KeyGroupConfig keyGroupConfig)
The key group configuration.
- Parameters:
keyGroupConfig
- The key group configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyGroupConfig
default UpdateKeyGroupRequest.Builder keyGroupConfig(Consumer<KeyGroupConfig.Builder> keyGroupConfig)
The key group configuration.
This is a convenience method that creates an instance of theKeyGroupConfig.Builder
avoiding the need to create one manually viaKeyGroupConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyGroupConfig(KeyGroupConfig)
.- Parameters:
keyGroupConfig
- a consumer that will call methods onKeyGroupConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
keyGroupConfig(KeyGroupConfig)
-
id
UpdateKeyGroupRequest.Builder id(String id)
The identifier of the key group that you are updating.
- Parameters:
id
- The identifier of the key group that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ifMatch
UpdateKeyGroupRequest.Builder ifMatch(String ifMatch)
The version of the key group that you are updating. The version is the key group's
ETag
value.- Parameters:
ifMatch
- The version of the key group that you are updating. The version is the key group'sETag
value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateKeyGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateKeyGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-