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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ModifyVpcEndpointRequest.Builder
addRouteTableIds(String... addRouteTableIds)
(Gateway endpoint) The IDs of the route tables to associate with the endpoint.ModifyVpcEndpointRequest.Builder
addRouteTableIds(Collection<String> addRouteTableIds)
(Gateway endpoint) The IDs of the route tables to associate with the endpoint.ModifyVpcEndpointRequest.Builder
addSecurityGroupIds(String... addSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.ModifyVpcEndpointRequest.Builder
addSecurityGroupIds(Collection<String> addSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.ModifyVpcEndpointRequest.Builder
addSubnetIds(String... addSubnetIds)
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint.ModifyVpcEndpointRequest.Builder
addSubnetIds(Collection<String> addSubnetIds)
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint.default ModifyVpcEndpointRequest.Builder
dnsOptions(Consumer<DnsOptionsSpecification.Builder> dnsOptions)
The DNS options for the endpoint.ModifyVpcEndpointRequest.Builder
dnsOptions(DnsOptionsSpecification dnsOptions)
The DNS options for the endpoint.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.ModifyVpcEndpointRequest.Builder
ipAddressType(String ipAddressType)
The IP address type for the endpoint.ModifyVpcEndpointRequest.Builder
ipAddressType(IpAddressType ipAddressType)
The IP address type for the endpoint.ModifyVpcEndpointRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ModifyVpcEndpointRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ModifyVpcEndpointRequest.Builder
policyDocument(String policyDocument)
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.ModifyVpcEndpointRequest.Builder
privateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.ModifyVpcEndpointRequest.Builder
removeRouteTableIds(String... removeRouteTableIds)
(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.ModifyVpcEndpointRequest.Builder
removeRouteTableIds(Collection<String> removeRouteTableIds)
(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.ModifyVpcEndpointRequest.Builder
removeSecurityGroupIds(String... removeSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.ModifyVpcEndpointRequest.Builder
removeSecurityGroupIds(Collection<String> removeSecurityGroupIds)
(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.ModifyVpcEndpointRequest.Builder
removeSubnetIds(String... removeSubnetIds)
(Interface endpoint) The IDs of the subnets from which to remove the endpoint.ModifyVpcEndpointRequest.Builder
removeSubnetIds(Collection<String> removeSubnetIds)
(Interface endpoint) The IDs of the subnets from which to remove the endpoint.ModifyVpcEndpointRequest.Builder
resetPolicy(Boolean resetPolicy)
(Gateway endpoint) Specifytrue
to reset the policy document to the default policy.ModifyVpcEndpointRequest.Builder
subnetConfigurations(Collection<SubnetConfiguration> subnetConfigurations)
The subnet configurations for the endpoint.ModifyVpcEndpointRequest.Builder
subnetConfigurations(Consumer<SubnetConfiguration.Builder>... subnetConfigurations)
The subnet configurations for the endpoint.ModifyVpcEndpointRequest.Builder
subnetConfigurations(SubnetConfiguration... subnetConfigurations)
The subnet configurations for the endpoint.ModifyVpcEndpointRequest.Builder
vpcEndpointId(String vpcEndpointId)
The ID of the endpoint.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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 isUnauthorizedOperation
.- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- 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) Specifytrue
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
-
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:
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.
-
dnsOptions
default ModifyVpcEndpointRequest.Builder dnsOptions(Consumer<DnsOptionsSpecification.Builder> dnsOptions)
The DNS options for the endpoint.
This is a convenience method that creates an instance of theDnsOptionsSpecification.Builder
avoiding the need to create one manually viaDnsOptionsSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todnsOptions(DnsOptionsSpecification)
.- Parameters:
dnsOptions
- a consumer that will call methods onDnsOptionsSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dnsOptions(DnsOptionsSpecification)
-
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 theSubnetConfiguration.Builder
avoiding the need to create one manually viaSubnetConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#subnetConfigurations(List
.) - Parameters:
subnetConfigurations
- a consumer that will call methods onSubnetConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#subnetConfigurations(java.util.Collection
)
-
overrideConfiguration
ModifyVpcEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyVpcEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-