Interface ModifyVpcEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyVpcEndpointRequest.Builder,,ModifyVpcEndpointRequest> Ec2Request.Builder,SdkBuilder<ModifyVpcEndpointRequest.Builder,,ModifyVpcEndpointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyVpcEndpointRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRouteTableIds(String... addRouteTableIds) (Gateway endpoint) The IDs of the route tables to associate with the endpoint.addRouteTableIds(Collection<String> addRouteTableIds) (Gateway endpoint) The IDs of the route tables to associate with the endpoint.addSecurityGroupIds(String... addSecurityGroupIds) (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.addSecurityGroupIds(Collection<String> addSecurityGroupIds) (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.addSubnetIds(String... addSubnetIds) (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint.addSubnetIds(Collection<String> addSubnetIds) (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint.default ModifyVpcEndpointRequest.BuilderdnsOptions(Consumer<DnsOptionsSpecification.Builder> dnsOptions) The DNS options for the endpoint.dnsOptions(DnsOptionsSpecification dnsOptions) The DNS options for the endpoint.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.ipAddressType(String ipAddressType) The IP address type for the endpoint.ipAddressType(IpAddressType ipAddressType) The IP address type for the endpoint.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyDocument(String policyDocument) (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.privateDnsEnabled(Boolean privateDnsEnabled) (Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.removeRouteTableIds(String... removeRouteTableIds) (Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.removeRouteTableIds(Collection<String> removeRouteTableIds) (Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.removeSecurityGroupIds(String... removeSecurityGroupIds) (Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.removeSecurityGroupIds(Collection<String> removeSecurityGroupIds) (Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.removeSubnetIds(String... removeSubnetIds) (Interface endpoint) The IDs of the subnets from which to remove the endpoint.removeSubnetIds(Collection<String> removeSubnetIds) (Interface endpoint) The IDs of the subnets from which to remove the endpoint.resetPolicy(Boolean resetPolicy) (Gateway endpoint) Specifytrueto reset the policy document to the default policy.subnetConfigurations(Collection<SubnetConfiguration> subnetConfigurations) The subnet configurations for the endpoint.subnetConfigurations(Consumer<SubnetConfiguration.Builder>... subnetConfigurations) The subnet configurations for the endpoint.subnetConfigurations(SubnetConfiguration... subnetConfigurations) The subnet configurations for the endpoint.vpcEndpointId(String vpcEndpointId) The ID of the endpoint.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 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
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
(Gateway endpoint) Specify
trueto reset the policy document to the default policy. The default policy allows full access to the service.- Parameters:
resetPolicy- (Gateway endpoint) Specifytrueto 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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
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
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
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.Builderavoiding the need to create one manually viaDnsOptionsSpecification.builder().When the
Consumercompletes,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:
-
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
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.Builderavoiding the need to create one manually viaSubnetConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubnetConfigurations(List<SubnetConfiguration>).- 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:
-
overrideConfiguration
ModifyVpcEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyVpcEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-