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