Class CfnMemberProps.Builder
java.lang.Object
software.amazon.awscdk.services.managedblockchain.CfnMemberProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemberProps>
- Enclosing interface:
CfnMemberProps
@Stability(Stable)
public static final class CfnMemberProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemberProps>
A builder for
CfnMemberProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.invitationId
(String invitationId) Sets the value ofCfnMemberProps.getInvitationId()
memberConfiguration
(IResolvable memberConfiguration) Sets the value ofCfnMemberProps.getMemberConfiguration()
memberConfiguration
(CfnMember.MemberConfigurationProperty memberConfiguration) Sets the value ofCfnMemberProps.getMemberConfiguration()
networkConfiguration
(IResolvable networkConfiguration) Sets the value ofCfnMemberProps.getNetworkConfiguration()
networkConfiguration
(CfnMember.NetworkConfigurationProperty networkConfiguration) Sets the value ofCfnMemberProps.getNetworkConfiguration()
Sets the value ofCfnMemberProps.getNetworkId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
memberConfiguration
@Stability(Stable) public CfnMemberProps.Builder memberConfiguration(CfnMember.MemberConfigurationProperty memberConfiguration) Sets the value ofCfnMemberProps.getMemberConfiguration()
- Parameters:
memberConfiguration
- Configuration properties of the member. This parameter is required.- Returns:
this
-
memberConfiguration
@Stability(Stable) public CfnMemberProps.Builder memberConfiguration(IResolvable memberConfiguration) Sets the value ofCfnMemberProps.getMemberConfiguration()
- Parameters:
memberConfiguration
- Configuration properties of the member. This parameter is required.- Returns:
this
-
invitationId
Sets the value ofCfnMemberProps.getInvitationId()
- Parameters:
invitationId
- The unique identifier of the invitation to join the network sent to the account that creates the member.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnMemberProps.Builder networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnMemberProps.getNetworkConfiguration()
- Parameters:
networkConfiguration
- Configuration properties of the network to which the member belongs.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnMemberProps.Builder networkConfiguration(CfnMember.NetworkConfigurationProperty networkConfiguration) Sets the value ofCfnMemberProps.getNetworkConfiguration()
- Parameters:
networkConfiguration
- Configuration properties of the network to which the member belongs.- Returns:
this
-
networkId
Sets the value ofCfnMemberProps.getNetworkId()
- Parameters:
networkId
- The unique identifier of the network to which the member belongs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMemberProps>
- Returns:
- a new instance of
CfnMemberProps
- Throws:
NullPointerException
- if any required attribute was not provided
-