Class HttpApiCall.Builder
java.lang.Object
software.amazon.awscdk.integtests.alpha.HttpApiCall.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpApiCall>
- Enclosing class:
HttpApiCall
@Stability(Experimental)
public static final class HttpApiCall.Builder
extends Object
implements software.amazon.jsii.Builder<HttpApiCall>
(experimental) A fluent builder for
HttpApiCall.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static HttpApiCall.BuilderfetchOptions(FetchOptions fetchOptions) (experimental) Options for fetch.providerLogLevel(ApplicationLogLevel providerLogLevel) (experimental) The log level of the provider lambda function.(experimental) The url to fetch.
-
Method Details
-
create
@Stability(Experimental) public static HttpApiCall.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
HttpApiCall.Builder.
-
url
(experimental) The url to fetch.- Parameters:
url- The url to fetch. This parameter is required.- Returns:
this
-
fetchOptions
(experimental) Options for fetch.- Parameters:
fetchOptions- Options for fetch. This parameter is required.- Returns:
this
-
providerLogLevel
@Stability(Experimental) public HttpApiCall.Builder providerLogLevel(ApplicationLogLevel providerLogLevel) (experimental) The log level of the provider lambda function.Default: ApplicationLogLevel.FATAL
- Parameters:
providerLogLevel- The log level of the provider lambda function. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HttpApiCall>- Returns:
- a newly built instance of
HttpApiCall.
-