Class CfnAccessorPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.managedblockchain.mixins.CfnAccessorPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessorPropsMixin>
- Enclosing class:
CfnAccessorPropsMixin
@Stability(Stable)
public static final class CfnAccessorPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessorPropsMixin>
A fluent builder for
CfnAccessorPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionaccessorType(String accessorType) The type of the accessor.build()create()create(CfnPropertyMixinOptions options) networkType(String networkType) The blockchain network that theAccessortoken is created for.The tags assigned to the Accessor.
-
Method Details
-
create
@Stability(Stable) public static CfnAccessorPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAccessorPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAccessorPropsMixin.Builder.
-
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- See Also:
-
networkType
The blockchain network that theAccessortoken is created for.We recommend using the appropriate
networkTypevalue for the blockchain network that you are creating theAccessortoken for. You cannot use the valueETHEREUM_MAINNET_AND_GOERLIto specify anetworkTypefor your Accessor token.The default value of
ETHEREUM_MAINNET_AND_GOERLIis only applied:- when the
CreateAccessoraction does not set anetworkType. - to all existing
Accessortokens that were created before thenetworkTypeproperty was introduced.
- Parameters:
networkType- The blockchain network that theAccessortoken is created for. This parameter is required.- Returns:
this- See Also:
- when the
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccessorPropsMixin>- Returns:
- a newly built instance of
CfnAccessorPropsMixin.
-