Class CfnKeyGroupPropsMixin.KeyGroupConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnKeyGroupPropsMixin.KeyGroupConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKeyGroupPropsMixin.KeyGroupConfigProperty>
- Enclosing interface:
CfnKeyGroupPropsMixin.KeyGroupConfigProperty
@Stability(Stable)
public static final class CfnKeyGroupPropsMixin.KeyGroupConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKeyGroupPropsMixin.KeyGroupConfigProperty>
A builder for
CfnKeyGroupPropsMixin.KeyGroupConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnKeyGroupPropsMixin.KeyGroupConfigProperty.getComment()Sets the value ofCfnKeyGroupPropsMixin.KeyGroupConfigProperty.getItems()Sets the value ofCfnKeyGroupPropsMixin.KeyGroupConfigProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comment
@Stability(Stable) public CfnKeyGroupPropsMixin.KeyGroupConfigProperty.Builder comment(String comment) Sets the value ofCfnKeyGroupPropsMixin.KeyGroupConfigProperty.getComment()- Parameters:
comment- A comment to describe the key group. The comment cannot be longer than 128 characters.- Returns:
this
-
items
@Stability(Stable) public CfnKeyGroupPropsMixin.KeyGroupConfigProperty.Builder items(List<? extends Object> items) Sets the value ofCfnKeyGroupPropsMixin.KeyGroupConfigProperty.getItems()- Parameters:
items- A list of the identifiers of the public keys in the key group.- Returns:
this
-
name
Sets the value ofCfnKeyGroupPropsMixin.KeyGroupConfigProperty.getName()- Parameters:
name- A name to identify the key group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKeyGroupPropsMixin.KeyGroupConfigProperty>- Returns:
- a new instance of
CfnKeyGroupPropsMixin.KeyGroupConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-