Class CfnKeyGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnKeyGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKeyGroupProps>
- Enclosing interface:
CfnKeyGroupProps
@Stability(Stable)
public static final class CfnKeyGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKeyGroupProps>
A builder for
CfnKeyGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.keyGroupConfig(IResolvable keyGroupConfig) Sets the value ofCfnKeyGroupProps.getKeyGroupConfig()keyGroupConfig(CfnKeyGroup.KeyGroupConfigProperty keyGroupConfig) Sets the value ofCfnKeyGroupProps.getKeyGroupConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyGroupConfig
Sets the value ofCfnKeyGroupProps.getKeyGroupConfig()- Parameters:
keyGroupConfig- The key group configuration. This parameter is required.- Returns:
this
-
keyGroupConfig
@Stability(Stable) public CfnKeyGroupProps.Builder keyGroupConfig(CfnKeyGroup.KeyGroupConfigProperty keyGroupConfig) Sets the value ofCfnKeyGroupProps.getKeyGroupConfig()- Parameters:
keyGroupConfig- The key group configuration. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKeyGroupProps>- Returns:
- a new instance of
CfnKeyGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-