Interface CreateResourceGatewayRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateResourceGatewayRequest.Builder,
,CreateResourceGatewayRequest> SdkBuilder<CreateResourceGatewayRequest.Builder,
,CreateResourceGatewayRequest> SdkPojo
,SdkRequest.Builder
,VpcLatticeRequest.Builder
- Enclosing class:
CreateResourceGatewayRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.ipAddressType
(String ipAddressType) A resource gateway can have IPv4, IPv6 or dualstack addresses.ipAddressType
(ResourceGatewayIpAddressType ipAddressType) A resource gateway can have IPv4, IPv6 or dualstack addresses.ipv4AddressesPerEni
(Integer ipv4AddressesPerEni) The number of IPv4 addresses in each ENI for the resource gateway.The name of the resource gateway.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.securityGroupIds
(String... securityGroupIds) The IDs of the security groups to apply to the resource gateway.securityGroupIds
(Collection<String> securityGroupIds) The IDs of the security groups to apply to the resource gateway.The IDs of the VPC subnets in which to create the resource gateway.subnetIds
(Collection<String> subnetIds) The IDs of the VPC subnets in which to create the resource gateway.The tags for the resource gateway.vpcIdentifier
(String vpcIdentifier) The ID of the VPC for the resource gateway.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeRequest.Builder
build
-
Method Details
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the resource gateway.
- Parameters:
name
- The name of the resource gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcIdentifier
The ID of the VPC for the resource gateway.
- Parameters:
vpcIdentifier
- The ID of the VPC for the resource gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
The IDs of the VPC subnets in which to create the resource gateway.
- Parameters:
subnetIds
- The IDs of the VPC subnets in which to create the resource gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
The IDs of the VPC subnets in which to create the resource gateway.
- Parameters:
subnetIds
- The IDs of the VPC subnets in which to create the resource gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The IDs of the security groups to apply to the resource gateway. The security groups must be in the same VPC.
- Parameters:
securityGroupIds
- The IDs of the security groups to apply to the resource gateway. The security groups must be in the same VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The IDs of the security groups to apply to the resource gateway. The security groups must be in the same VPC.
- Parameters:
securityGroupIds
- The IDs of the security groups to apply to the resource gateway. The security groups must be in the same VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddressType
A resource gateway can have IPv4, IPv6 or dualstack addresses. The IP address type of a resource gateway must be compatible with the subnets of the resource gateway and the IP address type of the resource, as described here:
-
IPv4Assign IPv4 addresses to your resource gateway network interfaces. This option is supported only if all selected subnets have IPv4 address ranges, and the resource also has an IPv4 address.
-
IPv6Assign IPv6 addresses to your resource gateway network interfaces. This option is supported only if all selected subnets are IPv6 only subnets, and the resource also has an IPv6 address.
-
DualstackAssign both IPv4 and IPv6 addresses to your resource gateway network interfaces. This option is supported only if all selected subnets have both IPv4 and IPv6 address ranges, and the resource either has an IPv4 or IPv6 address.
The IP address type of the resource gateway is independent of the IP address type of the client or the VPC endpoint through which the resource is accessed.
- Parameters:
ipAddressType
- A resource gateway can have IPv4, IPv6 or dualstack addresses. The IP address type of a resource gateway must be compatible with the subnets of the resource gateway and the IP address type of the resource, as described here:-
IPv4Assign IPv4 addresses to your resource gateway network interfaces. This option is supported only if all selected subnets have IPv4 address ranges, and the resource also has an IPv4 address.
-
IPv6Assign IPv6 addresses to your resource gateway network interfaces. This option is supported only if all selected subnets are IPv6 only subnets, and the resource also has an IPv6 address.
-
DualstackAssign both IPv4 and IPv6 addresses to your resource gateway network interfaces. This option is supported only if all selected subnets have both IPv4 and IPv6 address ranges, and the resource either has an IPv4 or IPv6 address.
The IP address type of the resource gateway is independent of the IP address type of the client or the VPC endpoint through which the resource is accessed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
ipAddressType
A resource gateway can have IPv4, IPv6 or dualstack addresses. The IP address type of a resource gateway must be compatible with the subnets of the resource gateway and the IP address type of the resource, as described here:
-
IPv4Assign IPv4 addresses to your resource gateway network interfaces. This option is supported only if all selected subnets have IPv4 address ranges, and the resource also has an IPv4 address.
-
IPv6Assign IPv6 addresses to your resource gateway network interfaces. This option is supported only if all selected subnets are IPv6 only subnets, and the resource also has an IPv6 address.
-
DualstackAssign both IPv4 and IPv6 addresses to your resource gateway network interfaces. This option is supported only if all selected subnets have both IPv4 and IPv6 address ranges, and the resource either has an IPv4 or IPv6 address.
The IP address type of the resource gateway is independent of the IP address type of the client or the VPC endpoint through which the resource is accessed.
- Parameters:
ipAddressType
- A resource gateway can have IPv4, IPv6 or dualstack addresses. The IP address type of a resource gateway must be compatible with the subnets of the resource gateway and the IP address type of the resource, as described here:-
IPv4Assign IPv4 addresses to your resource gateway network interfaces. This option is supported only if all selected subnets have IPv4 address ranges, and the resource also has an IPv4 address.
-
IPv6Assign IPv6 addresses to your resource gateway network interfaces. This option is supported only if all selected subnets are IPv6 only subnets, and the resource also has an IPv6 address.
-
DualstackAssign both IPv4 and IPv6 addresses to your resource gateway network interfaces. This option is supported only if all selected subnets have both IPv4 and IPv6 address ranges, and the resource either has an IPv4 or IPv6 address.
The IP address type of the resource gateway is independent of the IP address type of the client or the VPC endpoint through which the resource is accessed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
ipv4AddressesPerEni
The number of IPv4 addresses in each ENI for the resource gateway.
- Parameters:
ipv4AddressesPerEni
- The number of IPv4 addresses in each ENI for the resource gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the resource gateway.
- Parameters:
tags
- The tags for the resource gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateResourceGatewayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateResourceGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-