Class HttpServiceDiscoveryIntegrationProps.Builder
java.lang.Object
software.amazon.awscdk.aws_apigatewayv2_integrations.HttpServiceDiscoveryIntegrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpServiceDiscoveryIntegrationProps>
- Enclosing interface:
HttpServiceDiscoveryIntegrationProps
@Stability(Stable)
public static final class HttpServiceDiscoveryIntegrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<HttpServiceDiscoveryIntegrationProps>
A builder for
HttpServiceDiscoveryIntegrationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.method(HttpMethod method) Sets the value ofHttpPrivateIntegrationOptions.getMethod()parameterMapping(ParameterMapping parameterMapping) Sets the value ofHttpPrivateIntegrationOptions.getParameterMapping()secureServerName(String secureServerName) Sets the value ofHttpPrivateIntegrationOptions.getSecureServerName()Sets the value ofHttpPrivateIntegrationOptions.getTimeout()Sets the value ofHttpPrivateIntegrationOptions.getVpcLink()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
method
Sets the value ofHttpPrivateIntegrationOptions.getMethod()- Parameters:
method- The HTTP method that must be used to invoke the underlying HTTP proxy.- Returns:
this
-
parameterMapping
@Stability(Stable) public HttpServiceDiscoveryIntegrationProps.Builder parameterMapping(ParameterMapping parameterMapping) Sets the value ofHttpPrivateIntegrationOptions.getParameterMapping()- Parameters:
parameterMapping- Specifies how to transform HTTP requests before sending them to the backend.- Returns:
this
-
secureServerName
@Stability(Stable) public HttpServiceDiscoveryIntegrationProps.Builder secureServerName(String secureServerName) Sets the value ofHttpPrivateIntegrationOptions.getSecureServerName()- Parameters:
secureServerName- Specifies the server name to verified by HTTPS when calling the backend integration.- Returns:
this
-
timeout
Sets the value ofHttpPrivateIntegrationOptions.getTimeout()- Parameters:
timeout- The maximum amount of time an integration will run before it returns without a response. Must be between 50 milliseconds and 29 seconds.- Returns:
this
-
vpcLink
Sets the value ofHttpPrivateIntegrationOptions.getVpcLink()- Parameters:
vpcLink- The vpc link to be used for the private integration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HttpServiceDiscoveryIntegrationProps>- Returns:
- a new instance of
HttpServiceDiscoveryIntegrationProps - Throws:
NullPointerException- if any required attribute was not provided
-