Interface ModifyVpcEndpointRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ModifyVpcEndpointRequest.Builder,ModifyVpcEndpointRequest>, Ec2Request.Builder, SdkBuilder<ModifyVpcEndpointRequest.Builder,ModifyVpcEndpointRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ModifyVpcEndpointRequest

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

    • 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

      ModifyVpcEndpointRequest.Builder ipAddressType(IpAddressType 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:
    • 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.
    • dnsOptions

      The DNS options for the endpoint.

      This is a convenience method that creates an instance of the DnsOptionsSpecification.Builder avoiding the need to create one manually via DnsOptionsSpecification.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dnsOptions(DnsOptionsSpecification).

      Parameters:
      dnsOptions - a consumer that will call methods on DnsOptionsSpecification.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • subnetConfigurations

      ModifyVpcEndpointRequest.Builder subnetConfigurations(Consumer<SubnetConfiguration.Builder>... subnetConfigurations)

      The subnet configurations for the endpoint.

      This is a convenience method that creates an instance of the SubnetConfiguration.Builder avoiding the need to create one manually via SubnetConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subnetConfigurations(List<SubnetConfiguration>).

      Parameters:
      subnetConfigurations - a consumer that will call methods on SubnetConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      ModifyVpcEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration 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.