Class KeyGroupReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.cloudfront.KeyGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeyGroupReference>
- Enclosing interface:
KeyGroupReference
@Stability(Stable)
public static final class KeyGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<KeyGroupReference>
A builder for
KeyGroupReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.keyGroupId(String keyGroupId) Sets the value ofKeyGroupReference.getKeyGroupId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyGroupId
Sets the value ofKeyGroupReference.getKeyGroupId()- Parameters:
keyGroupId- The Id of the KeyGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KeyGroupReference>- Returns:
- a new instance of
KeyGroupReference - Throws:
NullPointerException- if any required attribute was not provided
-