Interface UpdateProxyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateProxyRequest.Builder,,UpdateProxyRequest> NetworkFirewallRequest.Builder,SdkBuilder<UpdateProxyRequest.Builder,,UpdateProxyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateProxyRequest
-
Method Summary
Modifier and TypeMethodDescriptionlistenerPropertiesToAdd(Collection<ListenerPropertyRequest> listenerPropertiesToAdd) Listener properties for HTTP and HTTPS traffic to add.listenerPropertiesToAdd(Consumer<ListenerPropertyRequest.Builder>... listenerPropertiesToAdd) Listener properties for HTTP and HTTPS traffic to add.listenerPropertiesToAdd(ListenerPropertyRequest... listenerPropertiesToAdd) Listener properties for HTTP and HTTPS traffic to add.listenerPropertiesToRemove(Collection<ListenerPropertyRequest> listenerPropertiesToRemove) Listener properties for HTTP and HTTPS traffic to remove.listenerPropertiesToRemove(Consumer<ListenerPropertyRequest.Builder>... listenerPropertiesToRemove) Listener properties for HTTP and HTTPS traffic to remove.listenerPropertiesToRemove(ListenerPropertyRequest... listenerPropertiesToRemove) Listener properties for HTTP and HTTPS traffic to remove.natGatewayId(String natGatewayId) The NAT Gateway the proxy is attached to.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of a proxy.The descriptive name of the proxy.default UpdateProxyRequest.BuildertlsInterceptProperties(Consumer<TlsInterceptPropertiesRequest.Builder> tlsInterceptProperties) TLS decryption on traffic to filter on attributes in the HTTP header.tlsInterceptProperties(TlsInterceptPropertiesRequest tlsInterceptProperties) TLS decryption on traffic to filter on attributes in the HTTP header.updateToken(String updateToken) A token used for optimistic locking.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.networkfirewall.model.NetworkFirewallRequest.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
-
natGatewayId
The NAT Gateway the proxy is attached to.
- Parameters:
natGatewayId- The NAT Gateway the proxy is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proxyName
The descriptive name of the proxy. You can't change the name of a proxy after you create it.
You must specify the ARN or the name, and you can specify both.
- Parameters:
proxyName- The descriptive name of the proxy. You can't change the name of a proxy after you create it.You must specify the ARN or the name, and you can specify both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proxyArn
The Amazon Resource Name (ARN) of a proxy.
You must specify the ARN or the name, and you can specify both.
- Parameters:
proxyArn- The Amazon Resource Name (ARN) of a proxy.You must specify the ARN or the name, and you can specify both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listenerPropertiesToAdd
UpdateProxyRequest.Builder listenerPropertiesToAdd(Collection<ListenerPropertyRequest> listenerPropertiesToAdd) Listener properties for HTTP and HTTPS traffic to add.
- Parameters:
listenerPropertiesToAdd- Listener properties for HTTP and HTTPS traffic to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listenerPropertiesToAdd
UpdateProxyRequest.Builder listenerPropertiesToAdd(ListenerPropertyRequest... listenerPropertiesToAdd) Listener properties for HTTP and HTTPS traffic to add.
- Parameters:
listenerPropertiesToAdd- Listener properties for HTTP and HTTPS traffic to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listenerPropertiesToAdd
UpdateProxyRequest.Builder listenerPropertiesToAdd(Consumer<ListenerPropertyRequest.Builder>... listenerPropertiesToAdd) Listener properties for HTTP and HTTPS traffic to add.
This is a convenience method that creates an instance of theListenerPropertyRequest.Builderavoiding the need to create one manually viaListenerPropertyRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolistenerPropertiesToAdd(List<ListenerPropertyRequest>).- Parameters:
listenerPropertiesToAdd- a consumer that will call methods onListenerPropertyRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
listenerPropertiesToRemove
UpdateProxyRequest.Builder listenerPropertiesToRemove(Collection<ListenerPropertyRequest> listenerPropertiesToRemove) Listener properties for HTTP and HTTPS traffic to remove.
- Parameters:
listenerPropertiesToRemove- Listener properties for HTTP and HTTPS traffic to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listenerPropertiesToRemove
UpdateProxyRequest.Builder listenerPropertiesToRemove(ListenerPropertyRequest... listenerPropertiesToRemove) Listener properties for HTTP and HTTPS traffic to remove.
- Parameters:
listenerPropertiesToRemove- Listener properties for HTTP and HTTPS traffic to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listenerPropertiesToRemove
UpdateProxyRequest.Builder listenerPropertiesToRemove(Consumer<ListenerPropertyRequest.Builder>... listenerPropertiesToRemove) Listener properties for HTTP and HTTPS traffic to remove.
This is a convenience method that creates an instance of theListenerPropertyRequest.Builderavoiding the need to create one manually viaListenerPropertyRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolistenerPropertiesToRemove(List<ListenerPropertyRequest>).- Parameters:
listenerPropertiesToRemove- a consumer that will call methods onListenerPropertyRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tlsInterceptProperties
UpdateProxyRequest.Builder tlsInterceptProperties(TlsInterceptPropertiesRequest tlsInterceptProperties) TLS decryption on traffic to filter on attributes in the HTTP header.
- Parameters:
tlsInterceptProperties- TLS decryption on traffic to filter on attributes in the HTTP header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsInterceptProperties
default UpdateProxyRequest.Builder tlsInterceptProperties(Consumer<TlsInterceptPropertiesRequest.Builder> tlsInterceptProperties) TLS decryption on traffic to filter on attributes in the HTTP header.
This is a convenience method that creates an instance of theTlsInterceptPropertiesRequest.Builderavoiding the need to create one manually viaTlsInterceptPropertiesRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totlsInterceptProperties(TlsInterceptPropertiesRequest).- Parameters:
tlsInterceptProperties- a consumer that will call methods onTlsInterceptPropertiesRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateToken
A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request.
To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException. If this happens, retrieve the proxy again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.- Parameters:
updateToken- A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request.To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException. If this happens, retrieve the proxy again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateProxyRequest.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
UpdateProxyRequest.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.
-