Class CfnPlaybackKeyPair.Builder

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

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

    • create

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

      @Stability(Stable) public CfnPlaybackKeyPair.Builder name(String name)
      Playback-key-pair name.

      The value does not need to be unique.

      Parameters:
      name - Playback-key-pair name. This parameter is required.
      Returns:
      this
    • publicKeyMaterial

      @Stability(Stable) public CfnPlaybackKeyPair.Builder publicKeyMaterial(String publicKeyMaterial)
      The public portion of a customer-generated key pair.

      Parameters:
      publicKeyMaterial - The public portion of a customer-generated key pair. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnPlaybackKeyPair.Builder tags(List<? extends CfnTag> tags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      tags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • build

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