Class CfnSecurityKey.Builder

java.lang.Object
software.amazon.awscdk.services.connect.CfnSecurityKey.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityKey>
Enclosing class:
CfnSecurityKey

@Stability(Stable) public static final class CfnSecurityKey.Builder extends Object implements software.amazon.jsii.Builder<CfnSecurityKey>
A fluent builder for CfnSecurityKey.
  • Method Details

    • create

      @Stability(Stable) public static CfnSecurityKey.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 CfnSecurityKey.Builder.
    • instanceId

      @Stability(Stable) public CfnSecurityKey.Builder instanceId(String instanceId)
      The Amazon Resource Name (ARN) of the instance.

      Minimum : 1

      Maximum : 100

      Parameters:
      instanceId - The Amazon Resource Name (ARN) of the instance. This parameter is required.
      Returns:
      this
    • key

      @Stability(Stable) public CfnSecurityKey.Builder key(String key)
      A valid security key in PEM format.

      Minimum : 1

      Maximum : 1024

      Parameters:
      key - A valid security key in PEM format. This parameter is required.
      Returns:
      this
    • build

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