Class CfnMemberPropsMixin.NetworkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.managedblockchain.CfnMemberPropsMixin.NetworkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemberPropsMixin.NetworkConfigurationProperty>
- Enclosing interface:
CfnMemberPropsMixin.NetworkConfigurationProperty
@Stability(Stable)
public static final class CfnMemberPropsMixin.NetworkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemberPropsMixin.NetworkConfigurationProperty>
A builder for
CfnMemberPropsMixin.NetworkConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getDescription()Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getFramework()frameworkVersion(String frameworkVersion) Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getFrameworkVersion()Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getName()networkFrameworkConfiguration(CfnMemberPropsMixin.NetworkFrameworkConfigurationProperty networkFrameworkConfiguration) networkFrameworkConfiguration(IResolvable networkFrameworkConfiguration) votingPolicy(CfnMemberPropsMixin.VotingPolicyProperty votingPolicy) Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getVotingPolicy()votingPolicy(IResolvable votingPolicy) Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getVotingPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnMemberPropsMixin.NetworkConfigurationProperty.Builder description(String description) Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getDescription()- Parameters:
description- Attributes of the blockchain framework for the network.- Returns:
this
-
framework
@Stability(Stable) public CfnMemberPropsMixin.NetworkConfigurationProperty.Builder framework(String framework) Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getFramework()- Parameters:
framework- The blockchain framework that the network uses.- Returns:
this
-
frameworkVersion
@Stability(Stable) public CfnMemberPropsMixin.NetworkConfigurationProperty.Builder frameworkVersion(String frameworkVersion) Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getFrameworkVersion()- Parameters:
frameworkVersion- The version of the blockchain framework that the network uses.- Returns:
this
-
name
@Stability(Stable) public CfnMemberPropsMixin.NetworkConfigurationProperty.Builder name(String name) Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getName()- Parameters:
name- The name of the network.- Returns:
this
-
networkFrameworkConfiguration
@Stability(Stable) public CfnMemberPropsMixin.NetworkConfigurationProperty.Builder networkFrameworkConfiguration(IResolvable networkFrameworkConfiguration) Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getNetworkFrameworkConfiguration()- Parameters:
networkFrameworkConfiguration- Configuration properties relevant to the network for the blockchain framework that the network uses.- Returns:
this
-
networkFrameworkConfiguration
@Stability(Stable) public CfnMemberPropsMixin.NetworkConfigurationProperty.Builder networkFrameworkConfiguration(CfnMemberPropsMixin.NetworkFrameworkConfigurationProperty networkFrameworkConfiguration) Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getNetworkFrameworkConfiguration()- Parameters:
networkFrameworkConfiguration- Configuration properties relevant to the network for the blockchain framework that the network uses.- Returns:
this
-
votingPolicy
@Stability(Stable) public CfnMemberPropsMixin.NetworkConfigurationProperty.Builder votingPolicy(IResolvable votingPolicy) Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getVotingPolicy()- Parameters:
votingPolicy- The voting rules that the network uses to decide if a proposal is accepted.- Returns:
this
-
votingPolicy
@Stability(Stable) public CfnMemberPropsMixin.NetworkConfigurationProperty.Builder votingPolicy(CfnMemberPropsMixin.VotingPolicyProperty votingPolicy) Sets the value ofCfnMemberPropsMixin.NetworkConfigurationProperty.getVotingPolicy()- Parameters:
votingPolicy- The voting rules that the network uses to decide if a proposal is accepted.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMemberPropsMixin.NetworkConfigurationProperty>- Returns:
- a new instance of
CfnMemberPropsMixin.NetworkConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-