Interface CreateProxyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateProxyRequest.Builder,,CreateProxyRequest> ElbProxyRequest.Builder,SdkBuilder<CreateProxyRequest.Builder,,CreateProxyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProxyRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<Attribute> attributes) The attributes for the proxy.attributes(Consumer<Attribute.Builder>... attributes) The attributes for the proxy.attributes(Attribute... attributes) The attributes for the proxy.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default CreateProxyRequest.Builderconfiguration(Consumer<ProxyConfiguration.Builder> configuration) The configuration for the proxy.configuration(ProxyConfiguration configuration) The configuration for the proxy.customerKmsKeyArn(String customerKmsKeyArn) The Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt the proxy's configuration content.The name of the proxy.default CreateProxyRequest.BuildernetworkConfiguration(Consumer<ProxyNetworkUserConfiguration.Builder> networkConfiguration) The network configuration for the proxy.networkConfiguration(ProxyNetworkUserConfiguration networkConfiguration) The network configuration for the proxy.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.proxyVersion(String proxyVersion) The version of the proxy software, inmajor.minorformat.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.The tags for the proxy.The type of proxy.The type of proxy.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.elbproxy.model.ElbProxyRequest.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
-
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
The version of the proxy software, in
major.minorformat.- Parameters:
proxyVersion- The version of the proxy software, inmajor.minorformat.- 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
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 theProxyConfiguration.Builderavoiding the need to create one manually viaProxyConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(ProxyConfiguration).- Parameters:
configuration- a consumer that will call methods onProxyConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theProxyNetworkUserConfiguration.Builderavoiding the need to create one manually viaProxyNetworkUserConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfiguration(ProxyNetworkUserConfiguration).- Parameters:
networkConfiguration- a consumer that will call methods onProxyNetworkUserConfiguration.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
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 theAttribute.Builderavoiding the need to create one manually viaAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(List<Attribute>).- Parameters:
attributes- a consumer that will call methods onAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateProxyRequest.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.
-