Interface Ec2InstanceConnectEndpoint.Builder

    • Method Detail

      • ownerId

        Ec2InstanceConnectEndpoint.Builder ownerId​(String 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.
      • 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

        Ec2InstanceConnectEndpoint.Builder dnsName​(String 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

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

        Ec2InstanceConnectEndpoint.Builder createdAt​(Instant 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

        Ec2InstanceConnectEndpoint.Builder subnetId​(String 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

        Ec2InstanceConnectEndpoint.Builder tags​(Collection<Tag> 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

        Ec2InstanceConnectEndpoint.Builder tags​(Tag... 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

        Ec2InstanceConnectEndpoint.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)