Interface ModifyInstanceConnectEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyInstanceConnectEndpointRequest.Builder,,ModifyInstanceConnectEndpointRequest> Ec2Request.Builder,SdkBuilder<ModifyInstanceConnectEndpointRequest.Builder,,ModifyInstanceConnectEndpointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyInstanceConnectEndpointRequest
-
Method Summary
Modifier and TypeMethodDescriptionChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response.instanceConnectEndpointId(String instanceConnectEndpointId) The ID of the EC2 Instance Connect Endpoint to modify.ipAddressType(String ipAddressType) The new IP address type for the EC2 Instance Connect Endpoint.ipAddressType(IpAddressType ipAddressType) The new IP address type for the EC2 Instance Connect Endpoint.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.preserveClientIp(Boolean preserveClientIp) Indicates whether the client IP address is preserved as the source when you connect to a resource.securityGroupIds(String... securityGroupIds) Changes the security groups for the EC2 Instance Connect Endpoint.securityGroupIds(Collection<String> securityGroupIds) Changes the security groups for the EC2 Instance Connect 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, sdkFieldNameToField, sdkFields
-
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 isUnauthorizedOperation.- 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 isDryRunOperation. Otherwise, it isUnauthorizedOperation.- 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.
PreserveClientIpis only supported on IPv4 EC2 Instance Connect Endpoints. To usePreserveClientIp, the value forIpAddressTypemust beipv4.- Parameters:
ipAddressType- The new IP address type for the EC2 Instance Connect Endpoint.PreserveClientIpis only supported on IPv4 EC2 Instance Connect Endpoints. To usePreserveClientIp, the value forIpAddressTypemust beipv4.- 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.
PreserveClientIpis only supported on IPv4 EC2 Instance Connect Endpoints. To usePreserveClientIp, the value forIpAddressTypemust beipv4.- Parameters:
ipAddressType- The new IP address type for the EC2 Instance Connect Endpoint.PreserveClientIpis only supported on IPv4 EC2 Instance Connect Endpoints. To usePreserveClientIp, the value forIpAddressTypemust beipv4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
Indicates whether the client IP address is preserved as the source when you connect to a resource. The following are the possible values.
-
true- Use the IP address of the client. Your instance must have an IPv4 address. -
false- Use the IP address of the network interface.
- Parameters:
preserveClientIp- Indicates whether the client IP address is preserved as the source when you connect to a resource. The following are the possible values.-
true- Use the IP address of the client. Your instance must have an IPv4 address. -
false- Use the IP address of the network interface.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
ModifyInstanceConnectEndpointRequest.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
ModifyInstanceConnectEndpointRequest.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.
-