Interface Ec2InstanceConnectEndpoint.Builder

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

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

    • ownerId

      The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.

      Parameters:
      ownerId - The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceConnectEndpointId

      Ec2InstanceConnectEndpoint.Builder instanceConnectEndpointId(String instanceConnectEndpointId)

      The ID of the EC2 Instance Connect Endpoint.

      Parameters:
      instanceConnectEndpointId - The ID of the EC2 Instance Connect Endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceConnectEndpointArn

      Ec2InstanceConnectEndpoint.Builder instanceConnectEndpointArn(String instanceConnectEndpointArn)

      The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.

      Parameters:
      instanceConnectEndpointArn - The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state of the EC2 Instance Connect Endpoint.

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

      The current state of the EC2 Instance Connect Endpoint.

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

      Ec2InstanceConnectEndpoint.Builder stateMessage(String stateMessage)

      The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.

      Parameters:
      stateMessage - The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dnsName

      The DNS name of the EC2 Instance Connect Endpoint.

      Parameters:
      dnsName - The DNS name of the EC2 Instance Connect Endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fipsDnsName

      Ec2InstanceConnectEndpoint.Builder fipsDnsName(String fipsDnsName)

      Parameters:
      fipsDnsName -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaceIds

      Ec2InstanceConnectEndpoint.Builder networkInterfaceIds(Collection<String> networkInterfaceIds)

      The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.

      Parameters:
      networkInterfaceIds - The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaceIds

      Ec2InstanceConnectEndpoint.Builder networkInterfaceIds(String... networkInterfaceIds)

      The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.

      Parameters:
      networkInterfaceIds - The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcId

      The ID of the VPC in which the EC2 Instance Connect Endpoint was created.

      Parameters:
      vpcId - The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZone

      Ec2InstanceConnectEndpoint.Builder availabilityZone(String availabilityZone)

      The Availability Zone of the EC2 Instance Connect Endpoint.

      Parameters:
      availabilityZone - The Availability Zone of the EC2 Instance Connect Endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The date and time that the EC2 Instance Connect Endpoint was created.

      Parameters:
      createdAt - The date and time that the EC2 Instance Connect Endpoint was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetId

      The ID of the subnet in which the EC2 Instance Connect Endpoint was created.

      Parameters:
      subnetId - The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preserveClientIp

      Ec2InstanceConnectEndpoint.Builder preserveClientIp(Boolean preserveClientIp)

      Indicates whether your client's IP address is preserved as the source. The value is true or false.

      • If true, your client's IP address is used when you connect to a resource.

      • If false, the elastic network interface IP address is used when you connect to a resource.

      Default: true

      Parameters:
      preserveClientIp - Indicates whether your client's IP address is preserved as the source. The value is true or false.

      • If true, your client's IP address is used when you connect to a resource.

      • If false, the elastic network interface IP address is used when you connect to a resource.

      Default: true

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      Ec2InstanceConnectEndpoint.Builder securityGroupIds(Collection<String> securityGroupIds)

      The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.

      Parameters:
      securityGroupIds - The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      Ec2InstanceConnectEndpoint.Builder securityGroupIds(String... securityGroupIds)

      The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.

      Parameters:
      securityGroupIds - The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags assigned to the EC2 Instance Connect Endpoint.

      Parameters:
      tags - The tags assigned to the EC2 Instance Connect Endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags assigned to the EC2 Instance Connect Endpoint.

      Parameters:
      tags - The tags assigned to the EC2 Instance Connect Endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags assigned to the EC2 Instance Connect Endpoint.

      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: