Class CfnAccessorProps.Builder
java.lang.Object
software.amazon.awscdk.services.managedblockchain.CfnAccessorProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessorProps>
- Enclosing interface:
- CfnAccessorProps
@Stability(Stable)
public static final class CfnAccessorProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessorProps>
A builder for
CfnAccessorProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessorType(String accessorType) Sets the value ofCfnAccessorProps.getAccessorType()build()Builds the configured instance.Sets the value ofCfnAccessorProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessorType
Sets the value ofCfnAccessorProps.getAccessorType()- Parameters:
accessorType- The type of the accessor. This parameter is required.Currently, accessor type is restricted to
BILLING_TOKEN.- Returns:
this
-
tags
Sets the value ofCfnAccessorProps.getTags()- 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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccessorProps>- Returns:
- a new instance of
CfnAccessorProps - Throws:
NullPointerException- if any required attribute was not provided
-