Class CfnAccessorMixinProps.Builder

java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.managedblockchain.CfnAccessorMixinProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessorMixinProps>
Enclosing interface:
CfnAccessorMixinProps

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

    • Builder

      public Builder()
  • Method Details

    • accessorType

      @Stability(Stable) public CfnAccessorMixinProps.Builder accessorType(String accessorType)
      Parameters:
      accessorType - The type of the accessor.

      Currently, accessor type is restricted to BILLING_TOKEN .

      Returns:
      this
    • networkType

      @Stability(Stable) public CfnAccessorMixinProps.Builder networkType(String networkType)
      Parameters:
      networkType - The blockchain network that the Accessor token is created for.

      We recommend using the appropriate networkType value for the blockchain network that you are creating the Accessor token for. You cannot use the value ETHEREUM_MAINNET_AND_GOERLI to specify a networkType for your Accessor token.

      The default value of ETHEREUM_MAINNET_AND_GOERLI is only applied:

      • when the CreateAccessor action does not set a networkType .
      • to all existing Accessor tokens that were created before the networkType property was introduced.

      Returns:
      this
    • tags

      @Stability(Stable) public CfnAccessorMixinProps.Builder tags(List<? extends CfnTag> tags)
      Parameters:
      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 .
      Returns:
      this
    • build

      @Stability(Stable) public CfnAccessorMixinProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnAccessorMixinProps>
      Returns:
      a new instance of CfnAccessorMixinProps
      Throws:
      NullPointerException - if any required attribute was not provided