Interface ModifyInstanceConnectEndpointRequest.Builder

  • Method Details

    • dryRun

      Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      Parameters:
      dryRun - Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceConnectEndpointId

      ModifyInstanceConnectEndpointRequest.Builder instanceConnectEndpointId(String instanceConnectEndpointId)

      The ID of the EC2 Instance Connect Endpoint to modify.

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

      The new IP address type for the EC2 Instance Connect Endpoint.

      PreserveClientIp is only supported on IPv4 EC2 Instance Connect Endpoints. To use PreserveClientIp, the value for IpAddressType must be ipv4.

      Parameters:
      ipAddressType - The new IP address type for the EC2 Instance Connect Endpoint.

      PreserveClientIp is only supported on IPv4 EC2 Instance Connect Endpoints. To use PreserveClientIp, the value for IpAddressType must be ipv4.

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

      The new IP address type for the EC2 Instance Connect Endpoint.

      PreserveClientIp is only supported on IPv4 EC2 Instance Connect Endpoints. To use PreserveClientIp, the value for IpAddressType must be ipv4.

      Parameters:
      ipAddressType - The new IP address type for the EC2 Instance Connect Endpoint.

      PreserveClientIp is only supported on IPv4 EC2 Instance Connect Endpoints. To use PreserveClientIp, the value for IpAddressType must be ipv4.

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

      ModifyInstanceConnectEndpointRequest.Builder securityGroupIds(Collection<String> securityGroupIds)

      Changes the security groups for the EC2 Instance Connect Endpoint. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

      Parameters:
      securityGroupIds - Changes the security groups for the EC2 Instance Connect Endpoint. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      ModifyInstanceConnectEndpointRequest.Builder securityGroupIds(String... securityGroupIds)

      Changes the security groups for the EC2 Instance Connect Endpoint. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

      Parameters:
      securityGroupIds - Changes the security groups for the EC2 Instance Connect Endpoint. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preserveClientIp

      ModifyInstanceConnectEndpointRequest.Builder preserveClientIp(Boolean preserveClientIp)

      Indicates whether the client IP address is preserved as the source. The following are the possible values.

      • true - Use the client IP address as the source.

      • false - Use the network interface IP address as the source.

      PreserveClientIp=true is only supported on IPv4 EC2 Instance Connect Endpoints. If modifying PreserveClientIp to true, either the endpoint's existing IpAddressType must be ipv4, or if modifying IpAddressType in the same request, the new value must be ipv4.

      Default: false

      Parameters:
      preserveClientIp - Indicates whether the client IP address is preserved as the source. The following are the possible values.

      • true - Use the client IP address as the source.

      • false - Use the network interface IP address as the source.

      PreserveClientIp=true is only supported on IPv4 EC2 Instance Connect Endpoints. If modifying PreserveClientIp to true, either the endpoint's existing IpAddressType must be ipv4, or if modifying IpAddressType in the same request, the new value must be ipv4.

      Default: false

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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.