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 Summary
Modifier and TypeMethodDescriptionaccessorType
(String accessorType) The type of the accessor.build()
static CfnAccessor.Builder
networkType
(String networkType) The blockchain network that theAccessor
token is created for.The tags assigned to the Accessor.
-
Method Details
-
create
@Stability(Stable) public static CfnAccessor.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAccessor.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 theAccessor
token is created for.We recommend using the appropriate
networkType
value for the blockchain network that you are creating theAccessor
token for. You cannot use the valueETHEREUM_MAINNET_AND_GOERLI
to specify anetworkType
for your Accessor token.The default value of
ETHEREUM_MAINNET_AND_GOERLI
is only applied:- when the
CreateAccessor
action does not set anetworkType
. - to all existing
Accessor
tokens that were created before thenetworkType
property was introduced.
- Parameters:
networkType
- The blockchain network that theAccessor
token 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessor>
- Returns:
- a newly built instance of
CfnAccessor
.
-