Interface ModifyVpcEndpointRequest.Builder

    • Method Detail

      • dryRun

        ModifyVpcEndpointRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, 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 action, 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.
      • vpcEndpointId

        ModifyVpcEndpointRequest.Builder vpcEndpointId​(String vpcEndpointId)

        The ID of the endpoint.

        Parameters:
        vpcEndpointId - The ID of the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resetPolicy

        ModifyVpcEndpointRequest.Builder resetPolicy​(Boolean resetPolicy)

        (Gateway endpoint) Specify true to reset the policy document to the default policy. The default policy allows full access to the service.

        Parameters:
        resetPolicy - (Gateway endpoint) Specify true to reset the policy document to the default policy. The default policy allows full access to the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyDocument

        ModifyVpcEndpointRequest.Builder policyDocument​(String policyDocument)

        (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format.

        Parameters:
        policyDocument - (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addRouteTableIds

        ModifyVpcEndpointRequest.Builder addRouteTableIds​(Collection<String> addRouteTableIds)

        (Gateway endpoint) The IDs of the route tables to associate with the endpoint.

        Parameters:
        addRouteTableIds - (Gateway endpoint) The IDs of the route tables to associate with the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addRouteTableIds

        ModifyVpcEndpointRequest.Builder addRouteTableIds​(String... addRouteTableIds)

        (Gateway endpoint) The IDs of the route tables to associate with the endpoint.

        Parameters:
        addRouteTableIds - (Gateway endpoint) The IDs of the route tables to associate with the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • removeRouteTableIds

        ModifyVpcEndpointRequest.Builder removeRouteTableIds​(Collection<String> removeRouteTableIds)

        (Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.

        Parameters:
        removeRouteTableIds - (Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • removeRouteTableIds

        ModifyVpcEndpointRequest.Builder removeRouteTableIds​(String... removeRouteTableIds)

        (Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.

        Parameters:
        removeRouteTableIds - (Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addSubnetIds

        ModifyVpcEndpointRequest.Builder addSubnetIds​(Collection<String> addSubnetIds)

        (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.

        Parameters:
        addSubnetIds - (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addSubnetIds

        ModifyVpcEndpointRequest.Builder addSubnetIds​(String... addSubnetIds)

        (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.

        Parameters:
        addSubnetIds - (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • removeSubnetIds

        ModifyVpcEndpointRequest.Builder removeSubnetIds​(Collection<String> removeSubnetIds)

        (Interface endpoint) The IDs of the subnets from which to remove the endpoint.

        Parameters:
        removeSubnetIds - (Interface endpoint) The IDs of the subnets from which to remove the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • removeSubnetIds

        ModifyVpcEndpointRequest.Builder removeSubnetIds​(String... removeSubnetIds)

        (Interface endpoint) The IDs of the subnets from which to remove the endpoint.

        Parameters:
        removeSubnetIds - (Interface endpoint) The IDs of the subnets from which to remove the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addSecurityGroupIds

        ModifyVpcEndpointRequest.Builder addSecurityGroupIds​(Collection<String> addSecurityGroupIds)

        (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.

        Parameters:
        addSecurityGroupIds - (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addSecurityGroupIds

        ModifyVpcEndpointRequest.Builder addSecurityGroupIds​(String... addSecurityGroupIds)

        (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.

        Parameters:
        addSecurityGroupIds - (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • removeSecurityGroupIds

        ModifyVpcEndpointRequest.Builder removeSecurityGroupIds​(Collection<String> removeSecurityGroupIds)

        (Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.

        Parameters:
        removeSecurityGroupIds - (Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • removeSecurityGroupIds

        ModifyVpcEndpointRequest.Builder removeSecurityGroupIds​(String... removeSecurityGroupIds)

        (Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.

        Parameters:
        removeSecurityGroupIds - (Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipAddressType

        ModifyVpcEndpointRequest.Builder ipAddressType​(String ipAddressType)

        The IP address type for the endpoint.

        Parameters:
        ipAddressType - The IP address type for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpAddressType, IpAddressType
      • dnsOptions

        ModifyVpcEndpointRequest.Builder dnsOptions​(DnsOptionsSpecification dnsOptions)

        The DNS options for the endpoint.

        Parameters:
        dnsOptions - The DNS options for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateDnsEnabled

        ModifyVpcEndpointRequest.Builder privateDnsEnabled​(Boolean privateDnsEnabled)

        (Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.

        Parameters:
        privateDnsEnabled - (Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetConfigurations

        ModifyVpcEndpointRequest.Builder subnetConfigurations​(Collection<SubnetConfiguration> subnetConfigurations)

        The subnet configurations for the endpoint.

        Parameters:
        subnetConfigurations - The subnet configurations for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetConfigurations

        ModifyVpcEndpointRequest.Builder subnetConfigurations​(SubnetConfiguration... subnetConfigurations)

        The subnet configurations for the endpoint.

        Parameters:
        subnetConfigurations - The subnet configurations for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.