Interface VPCConnectionSummary.Builder

  • Method Details

    • vpcConnectionId

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

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

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

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

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

      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

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

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

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

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

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

      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

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

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