Interface TargetNetwork.Builder

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

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

    • associationId

      TargetNetwork.Builder associationId(String associationId)

      The ID of the association.

      Parameters:
      associationId - The ID of the association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcId

      The ID of the VPC in which the target network (subnet) is located.

      Parameters:
      vpcId - The ID of the VPC in which the target network (subnet) is located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetNetworkId

      TargetNetwork.Builder targetNetworkId(String targetNetworkId)

      The ID of the subnet specified as the target network.

      Parameters:
      targetNetworkId - The ID of the subnet specified as the target network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientVpnEndpointId

      TargetNetwork.Builder clientVpnEndpointId(String clientVpnEndpointId)

      The ID of the Client VPN endpoint with which the target network is associated.

      Parameters:
      clientVpnEndpointId - The ID of the Client VPN endpoint with which the target network is associated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current state of the target network association.

      Parameters:
      status - The current state of the target network association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current state of the target network association.

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

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

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

      TargetNetwork.Builder securityGroups(Collection<String> securityGroups)

      The IDs of the security groups applied to the target network association.

      Parameters:
      securityGroups - The IDs of the security groups applied to the target network association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroups

      TargetNetwork.Builder securityGroups(String... securityGroups)

      The IDs of the security groups applied to the target network association.

      Parameters:
      securityGroups - The IDs of the security groups applied to the target network association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.