Interface CreateResourceGatewayRequest.Builder

  • Method Details

    • clientToken

      CreateResourceGatewayRequest.Builder clientToken(String 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

      CreateResourceGatewayRequest.Builder vpcIdentifier(String 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

      CreateResourceGatewayRequest.Builder securityGroupIds(Collection<String> 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

      CreateResourceGatewayRequest.Builder securityGroupIds(String... 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

      CreateResourceGatewayRequest.Builder ipAddressType(String 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

      CreateResourceGatewayRequest.Builder ipv4AddressesPerEni(Integer 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 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.