Interface VPCConnection.Builder

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

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

    • vpcConnectionId

      VPCConnection.Builder vpcConnectionId(String vpcConnectionId)

      The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.

      Parameters:
      vpcConnectionId - The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the VPC connection.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the VPC connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The display name for the VPC connection.

      Parameters:
      name - The display name for the VPC connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcId

      The Amazon EC2 VPC ID associated with the VPC connection.

      Parameters:
      vpcId - The Amazon EC2 VPC ID associated with the VPC connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      VPCConnection.Builder securityGroupIds(Collection<String> securityGroupIds)

      The Amazon EC2 security group IDs associated with the VPC connection.

      Parameters:
      securityGroupIds - The Amazon EC2 security group IDs associated with the VPC connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      VPCConnection.Builder securityGroupIds(String... securityGroupIds)

      The Amazon EC2 security group IDs associated with the VPC connection.

      Parameters:
      securityGroupIds - The Amazon EC2 security group IDs associated with the VPC connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dnsResolvers

      VPCConnection.Builder dnsResolvers(Collection<String> dnsResolvers)

      A list of IP addresses of DNS resolver endpoints for the VPC connection.

      Parameters:
      dnsResolvers - A list of IP addresses of DNS resolver endpoints for the VPC connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dnsResolvers

      VPCConnection.Builder dnsResolvers(String... dnsResolvers)

      A list of IP addresses of DNS resolver endpoints for the VPC connection.

      Parameters:
      dnsResolvers - A list of IP addresses of DNS resolver endpoints for the VPC connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      VPCConnection.Builder status(String status)

      The status of the VPC connection.

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

      The status of the VPC connection.

      Parameters:
      status - The status of the VPC connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • availabilityStatus

      VPCConnection.Builder availabilityStatus(String availabilityStatus)

      The availability status of the VPC connection.

      Parameters:
      availabilityStatus - The availability status of the VPC connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • availabilityStatus

      VPCConnection.Builder availabilityStatus(VPCConnectionAvailabilityStatus availabilityStatus)

      The availability status of the VPC connection.

      Parameters:
      availabilityStatus - The availability status of the VPC connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkInterfaces

      VPCConnection.Builder networkInterfaces(Collection<NetworkInterface> networkInterfaces)

      A list of network interfaces.

      Parameters:
      networkInterfaces - A list of network interfaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      VPCConnection.Builder networkInterfaces(NetworkInterface... networkInterfaces)

      A list of network interfaces.

      Parameters:
      networkInterfaces - A list of network interfaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      VPCConnection.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)

      A list of network interfaces.

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

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

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

      VPCConnection.Builder roleArn(String roleArn)

      The ARN of the IAM role associated with the VPC connection.

      Parameters:
      roleArn - The ARN of the IAM role associated with the VPC connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTime

      VPCConnection.Builder createdTime(Instant createdTime)

      The time that the VPC connection was created.

      Parameters:
      createdTime - The time that the VPC connection was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      VPCConnection.Builder lastUpdatedTime(Instant lastUpdatedTime)

      The time that the VPC connection was last updated.

      Parameters:
      lastUpdatedTime - The time that the VPC connection was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.