Interface TargetNetwork.Builder

    • Method Detail

      • 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

        TargetNetwork.Builder vpcId​(String 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

        TargetNetwork.Builder status​(AssociationStatus 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.
      • 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.
      • availabilityZones

        TargetNetwork.Builder availabilityZones​(Collection<String> availabilityZones)

        The Availability Zone names for the target network association, if the Client VPN endpoint uses a Transit Gateway.

        Parameters:
        availabilityZones - The Availability Zone names for the target network association, if the Client VPN endpoint uses a Transit Gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZones

        TargetNetwork.Builder availabilityZones​(String... availabilityZones)

        The Availability Zone names for the target network association, if the Client VPN endpoint uses a Transit Gateway.

        Parameters:
        availabilityZones - The Availability Zone names for the target network association, if the Client VPN endpoint uses a Transit Gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZoneIds

        TargetNetwork.Builder availabilityZoneIds​(Collection<String> availabilityZoneIds)

        The Availability Zone IDs for the target network association, if the Client VPN endpoint uses a Transit Gateway.

        Parameters:
        availabilityZoneIds - The Availability Zone IDs for the target network association, if the Client VPN endpoint uses a Transit Gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZoneIds

        TargetNetwork.Builder availabilityZoneIds​(String... availabilityZoneIds)

        The Availability Zone IDs for the target network association, if the Client VPN endpoint uses a Transit Gateway.

        Parameters:
        availabilityZoneIds - The Availability Zone IDs for the target network association, if the Client VPN endpoint uses a Transit Gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.