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 Details

    • create

      @Stability(Stable) public static CfnKeyGroup.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnKeyGroup.Builder.
    • keyGroupConfig

      @Stability(Stable) public CfnKeyGroup.Builder keyGroupConfig(IResolvable keyGroupConfig)
      The key group configuration.

      Parameters:
      keyGroupConfig - The key group configuration. This parameter is required.
      Returns:
      this
    • 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
    • build

      @Stability(Stable) public CfnKeyGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnKeyGroup>
      Returns:
      a newly built instance of CfnKeyGroup.