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 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

      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.

      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

      Network.Builder framework(Framework 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

      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 the NetworkFrameworkAttributes.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).

      Parameters:
      frameworkAttributes - a consumer that will call methods on NetworkFrameworkAttributes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the VotingPolicy.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).

      Parameters:
      votingPolicy - a consumer that will call methods on VotingPolicy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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

      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

      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.