Interface Network.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Network.Builder,
,Network> SdkBuilder<Network.Builder,
,Network> SdkPojo
- Enclosing class:
Network
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the network.creationDate
(Instant creationDate) The date and time that the network was created.description
(String description) Attributes of the blockchain framework for the network.The blockchain framework that the network uses.The blockchain framework that the network uses.default Network.Builder
frameworkAttributes
(Consumer<NetworkFrameworkAttributes.Builder> frameworkAttributes) Attributes of the blockchain framework that the network uses.frameworkAttributes
(NetworkFrameworkAttributes frameworkAttributes) Attributes of the blockchain framework that the network uses.frameworkVersion
(String frameworkVersion) The version of the blockchain framework that the network uses.The unique identifier of the network.The name of the network.The current status of the network.status
(NetworkStatus status) The current status of the network.Tags assigned to the network.default Network.Builder
votingPolicy
(Consumer<VotingPolicy.Builder> votingPolicy) The voting rules that the network uses to decide if a proposal is accepted.votingPolicy
(VotingPolicy votingPolicy) The voting rules that the network uses to decide if a proposal is accepted.vpcEndpointServiceName
(String vpcEndpointServiceName) The VPC endpoint service name of the VPC endpoint service of the network.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The unique identifier of the network.
- Parameters:
id
- The unique identifier of the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the network.
- Parameters:
name
- The name of the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Attributes of the blockchain framework for the network.
- Parameters:
description
- Attributes of the blockchain framework for the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
framework
The blockchain framework that the network uses.
- Parameters:
framework
- The blockchain framework that the network uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
framework
The blockchain framework that the network uses.
- Parameters:
framework
- The blockchain framework that the network uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
frameworkVersion
The version of the blockchain framework that the network uses.
- Parameters:
frameworkVersion
- The version of the blockchain framework that the network uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameworkAttributes
Attributes of the blockchain framework that the network uses.
- Parameters:
frameworkAttributes
- Attributes of the blockchain framework that the network uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameworkAttributes
default Network.Builder frameworkAttributes(Consumer<NetworkFrameworkAttributes.Builder> frameworkAttributes) Attributes of the blockchain framework that the network uses.
This is a convenience method that creates an instance of theNetworkFrameworkAttributes.Builder
avoiding the need to create one manually viaNetworkFrameworkAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toframeworkAttributes(NetworkFrameworkAttributes)
.- Parameters:
frameworkAttributes
- a consumer that will call methods onNetworkFrameworkAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcEndpointServiceName
The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.
- Parameters:
vpcEndpointServiceName
- The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
votingPolicy
The voting rules that the network uses to decide if a proposal is accepted.
- Parameters:
votingPolicy
- The voting rules that the network uses to decide if a proposal is accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
votingPolicy
The voting rules that the network uses to decide if a proposal is accepted.
This is a convenience method that creates an instance of theVotingPolicy.Builder
avoiding the need to create one manually viaVotingPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovotingPolicy(VotingPolicy)
.- Parameters:
votingPolicy
- a consumer that will call methods onVotingPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the network.
- Parameters:
status
- The current status of the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the network.
- Parameters:
status
- The current status of the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDate
The date and time that the network was created.
- Parameters:
creationDate
- The date and time that the network was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags assigned to the network. Each tag consists of a key and optional value.
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
- Tags assigned to the network. Each tag consists of a key and optional value.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:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-