Interface Network.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Network.Builder,Network>,SdkBuilder<Network.Builder,Network>,SdkPojo
- Enclosing class:
- Network
public static interface Network.Builder extends SdkPojo, CopyableBuilder<Network.Builder,Network>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Network.Builderarn(String arn)The Amazon Resource Name (ARN) of the network.Network.BuildercreationDate(Instant creationDate)The date and time that the network was created.Network.Builderdescription(String description)Attributes of the blockchain framework for the network.Network.Builderframework(String framework)The blockchain framework that the network uses.Network.Builderframework(Framework framework)The blockchain framework that the network uses.default Network.BuilderframeworkAttributes(Consumer<NetworkFrameworkAttributes.Builder> frameworkAttributes)Attributes of the blockchain framework that the network uses.Network.BuilderframeworkAttributes(NetworkFrameworkAttributes frameworkAttributes)Attributes of the blockchain framework that the network uses.Network.BuilderframeworkVersion(String frameworkVersion)The version of the blockchain framework that the network uses.Network.Builderid(String id)The unique identifier of the network.Network.Buildername(String name)The name of the network.Network.Builderstatus(String status)The current status of the network.Network.Builderstatus(NetworkStatus status)The current status of the network.Network.Buildertags(Map<String,String> tags)Tags assigned to the network.default Network.BuildervotingPolicy(Consumer<VotingPolicy.Builder> votingPolicy)The voting rules that the network uses to decide if a proposal is accepted.Network.BuildervotingPolicy(VotingPolicy votingPolicy)The voting rules that the network uses to decide if a proposal is accepted.Network.BuildervpcEndpointServiceName(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
Network.Builder id(String 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
Network.Builder name(String 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
Network.Builder description(String 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
Network.Builder framework(String framework)
The blockchain framework that the network uses.
-
framework
Network.Builder framework(Framework framework)
The blockchain framework that the network uses.
-
frameworkVersion
Network.Builder frameworkVersion(String 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
Network.Builder frameworkAttributes(NetworkFrameworkAttributes 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.Builderavoiding the need to create one manually viaNetworkFrameworkAttributes.builder().When the
Consumercompletes,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:
frameworkAttributes(NetworkFrameworkAttributes)
-
vpcEndpointServiceName
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.
- 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
Network.Builder votingPolicy(VotingPolicy 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
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.Builderavoiding the need to create one manually viaVotingPolicy.builder().When the
Consumercompletes,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:
votingPolicy(VotingPolicy)
-
status
Network.Builder status(String 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:
NetworkStatus,NetworkStatus
-
status
Network.Builder status(NetworkStatus 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:
NetworkStatus,NetworkStatus
-
creationDate
Network.Builder creationDate(Instant 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
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.
- 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
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.
- 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.
-
-