Class CfnKeyGroup.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnKeyGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKeyGroup>
- Enclosing class:
CfnKeyGroup
@Stability(Stable)
public static final class CfnKeyGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKeyGroup>
A fluent builder for
CfnKeyGroup.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnKeyGroup.BuilderkeyGroupConfig(IResolvable keyGroupConfig) The key group configuration.keyGroupConfig(CfnKeyGroup.KeyGroupConfigProperty keyGroupConfig) The key group configuration.
-
Method Details
-
create
@Stability(Stable) public static CfnKeyGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnKeyGroup.Builder.
-
keyGroupConfig
The key group configuration.- Parameters:
keyGroupConfig- The key group configuration. This parameter is required.- Returns:
this- See Also:
-
keyGroupConfig
@Stability(Stable) public CfnKeyGroup.Builder keyGroupConfig(CfnKeyGroup.KeyGroupConfigProperty keyGroupConfig) The key group configuration.- Parameters:
keyGroupConfig- The key group configuration. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKeyGroup>- Returns:
- a newly built instance of
CfnKeyGroup.
-