public static interface Network.Builder extends SdkPojo, CopyableBuilder<Network.Builder,Network>
| Modifier and Type | Method and Description |
|---|---|
Network.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the network.
|
Network.Builder |
creationDate(Instant creationDate)
The date and time that the network was created.
|
Network.Builder |
description(String description)
Attributes of the blockchain framework for the network.
|
Network.Builder |
framework(Framework framework)
The blockchain framework that the network uses.
|
Network.Builder |
framework(String framework)
The blockchain framework that the network uses.
|
default Network.Builder |
frameworkAttributes(Consumer<NetworkFrameworkAttributes.Builder> frameworkAttributes)
Attributes of the blockchain framework that the network uses.
|
Network.Builder |
frameworkAttributes(NetworkFrameworkAttributes frameworkAttributes)
Attributes of the blockchain framework that the network uses.
|
Network.Builder |
frameworkVersion(String frameworkVersion)
The version of the blockchain framework that the network uses.
|
Network.Builder |
id(String id)
The unique identifier of the network.
|
Network.Builder |
name(String name)
The name of the network.
|
Network.Builder |
status(NetworkStatus status)
The current status of the network.
|
Network.Builder |
status(String status)
The current status of the network.
|
Network.Builder |
tags(Map<String,String> tags)
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.
|
Network.Builder |
votingPolicy(VotingPolicy votingPolicy)
The voting rules that the network uses to decide if a proposal is accepted.
|
Network.Builder |
vpcEndpointServiceName(String vpcEndpointServiceName)
The VPC endpoint service name of the VPC endpoint service of the network.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNetwork.Builder id(String id)
The unique identifier of the network.
id - The unique identifier of the network.Network.Builder name(String name)
The name of the network.
name - The name of the network.Network.Builder description(String description)
Attributes of the blockchain framework for the network.
description - Attributes of the blockchain framework for the network.Network.Builder framework(String framework)
The blockchain framework that the network uses.
Network.Builder framework(Framework framework)
The blockchain framework that the network uses.
Network.Builder frameworkVersion(String frameworkVersion)
The version of the blockchain framework that the network uses.
frameworkVersion - The version of the blockchain framework that the network uses.Network.Builder frameworkAttributes(NetworkFrameworkAttributes frameworkAttributes)
Attributes of the blockchain framework that the network uses.
frameworkAttributes - Attributes of the blockchain framework that the network uses.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 via NetworkFrameworkAttributes.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to frameworkAttributes(NetworkFrameworkAttributes).
frameworkAttributes - a consumer that will call methods on NetworkFrameworkAttributes.BuilderframeworkAttributes(NetworkFrameworkAttributes)Network.Builder vpcEndpointServiceName(String 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.
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.Network.Builder votingPolicy(VotingPolicy votingPolicy)
The voting rules that the network uses to decide if a proposal is accepted.
votingPolicy - The voting rules that the network uses to decide if a proposal is accepted.default Network.Builder votingPolicy(Consumer<VotingPolicy.Builder> 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 via VotingPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to votingPolicy(VotingPolicy).
votingPolicy - a consumer that will call methods on VotingPolicy.BuildervotingPolicy(VotingPolicy)Network.Builder status(String status)
The current status of the network.
status - The current status of the network.NetworkStatus,
NetworkStatusNetwork.Builder status(NetworkStatus status)
The current status of the network.
status - The current status of the network.NetworkStatus,
NetworkStatusNetwork.Builder creationDate(Instant creationDate)
The date and time that the network was created.
creationDate - The date and time that the network was created.Network.Builder tags(Map<String,String> 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.
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.
Network.Builder arn(String 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.
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.Copyright © 2023. All rights reserved.