Interface CreateProxyRequest.Builder

  • Method Details

    • name

      The name of the proxy. The name must be unique within your account for the Region. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character.

      Parameters:
      name - The name of the proxy. The name must be unique within your account for the Region. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of proxy.

      Parameters:
      type - The type of proxy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of proxy.

      Parameters:
      type - The type of proxy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • proxyVersion

      CreateProxyRequest.Builder proxyVersion(String proxyVersion)

      The version of the proxy software, in major.minor format.

      Parameters:
      proxyVersion - The version of the proxy software, in major.minor format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      The Amazon Resource Name (ARN) of the IAM role that provides permissions to the code that your Envoy configuration runs on the proxy, such as filters and extensions. These are the permissions that this code needs when it calls AWS services.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the IAM role that provides permissions to the code that your Envoy configuration runs on the proxy, such as filters and extensions. These are the permissions that this code needs when it calls AWS services.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      CreateProxyRequest.Builder configuration(ProxyConfiguration configuration)

      The configuration for the proxy.

      Parameters:
      configuration - The configuration for the proxy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      default CreateProxyRequest.Builder configuration(Consumer<ProxyConfiguration.Builder> configuration)

      The configuration for the proxy.

      This is a convenience method that creates an instance of the ProxyConfiguration.Builder avoiding the need to create one manually via ProxyConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(ProxyConfiguration).

      Parameters:
      configuration - a consumer that will call methods on ProxyConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkConfiguration

      CreateProxyRequest.Builder networkConfiguration(ProxyNetworkUserConfiguration networkConfiguration)

      The network configuration for the proxy.

      Parameters:
      networkConfiguration - The network configuration for the proxy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkConfiguration

      default CreateProxyRequest.Builder networkConfiguration(Consumer<ProxyNetworkUserConfiguration.Builder> networkConfiguration)

      The network configuration for the proxy.

      This is a convenience method that creates an instance of the ProxyNetworkUserConfiguration.Builder avoiding the need to create one manually via ProxyNetworkUserConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to networkConfiguration(ProxyNetworkUserConfiguration).

      Parameters:
      networkConfiguration - a consumer that will call methods on ProxyNetworkUserConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • attributes

      The attributes for the proxy. Attributes can be changed after creation. Attributes that you don't specify are set to their default values.

      Parameters:
      attributes - The attributes for the proxy. Attributes can be changed after creation. Attributes that you don't specify are set to their default values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      CreateProxyRequest.Builder attributes(Attribute... attributes)

      The attributes for the proxy. Attributes can be changed after creation. Attributes that you don't specify are set to their default values.

      Parameters:
      attributes - The attributes for the proxy. Attributes can be changed after creation. Attributes that you don't specify are set to their default values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      The attributes for the proxy. Attributes can be changed after creation. Attributes that you don't specify are set to their default values.

      This is a convenience method that creates an instance of the Attribute.Builder avoiding the need to create one manually via Attribute.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attributes(List<Attribute>).

      Parameters:
      attributes - a consumer that will call methods on Attribute.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • customerKmsKeyArn

      CreateProxyRequest.Builder customerKmsKeyArn(String customerKmsKeyArn)

      The Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt the proxy's configuration content. If you don't specify a key, the default service-owned key is used.

      Parameters:
      customerKmsKeyArn - The Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt the proxy's configuration content. If you don't specify a key, the default service-owned key is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags for the proxy.

      Parameters:
      tags - The tags for the proxy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreateProxyRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateProxyRequest.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.