Class CfnAccessor.Builder

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

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

    • create

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

      @Stability(Stable) public CfnAccessor.Builder accessorType(String accessorType)
      The type of the accessor.

      Currently, accessor type is restricted to BILLING_TOKEN .

      Parameters:
      accessorType - The type of the accessor. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnAccessor.Builder tags(List<? extends CfnTag> tags)
      The tags assigned to the Accessor.

      For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide , or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide .

      Parameters:
      tags - The tags assigned to the Accessor. This parameter is required.
      Returns:
      this
    • build

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