Interface ConnectPeer.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ConnectPeer.Builder,ConnectPeer>, SdkBuilder<ConnectPeer.Builder,ConnectPeer>, SdkPojo
Enclosing class:
ConnectPeer

public static interface ConnectPeer.Builder extends SdkPojo, CopyableBuilder<ConnectPeer.Builder,ConnectPeer>
  • Method Details

    • coreNetworkId

      ConnectPeer.Builder coreNetworkId(String coreNetworkId)

      The ID of a core network.

      Parameters:
      coreNetworkId - The ID of a core network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectAttachmentId

      ConnectPeer.Builder connectAttachmentId(String connectAttachmentId)

      The ID of the attachment to connect.

      Parameters:
      connectAttachmentId - The ID of the attachment to connect.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectPeerId

      ConnectPeer.Builder connectPeerId(String connectPeerId)

      The ID of the Connect peer.

      Parameters:
      connectPeerId - The ID of the Connect peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edgeLocation

      ConnectPeer.Builder edgeLocation(String edgeLocation)

      The Connect peer Regions where edges are located.

      Parameters:
      edgeLocation - The Connect peer Regions where edges are located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the Connect peer.

      Parameters:
      state - The state of the Connect peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the Connect peer.

      Parameters:
      state - The state of the Connect peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      ConnectPeer.Builder createdAt(Instant createdAt)

      The timestamp when the Connect peer was created.

      Parameters:
      createdAt - The timestamp when the Connect peer was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      ConnectPeer.Builder configuration(ConnectPeerConfiguration configuration)

      The configuration of the Connect peer.

      Parameters:
      configuration - The configuration of the Connect peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      default ConnectPeer.Builder configuration(Consumer<ConnectPeerConfiguration.Builder> configuration)

      The configuration of the Connect peer.

      This is a convenience method that creates an instance of the ConnectPeerConfiguration.Builder avoiding the need to create one manually via ConnectPeerConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(ConnectPeerConfiguration).

      Parameters:
      configuration - a consumer that will call methods on ConnectPeerConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The list of key-value tags associated with the Connect peer.

      Parameters:
      tags - The list of key-value tags associated with the Connect peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      ConnectPeer.Builder tags(Tag... tags)

      The list of key-value tags associated with the Connect peer.

      Parameters:
      tags - The list of key-value tags associated with the Connect peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The list of key-value tags associated with the Connect peer.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • subnetArn

      ConnectPeer.Builder subnetArn(String subnetArn)

      The subnet ARN for the Connect peer.

      Parameters:
      subnetArn - The subnet ARN for the Connect peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.