@Stability(value=Experimental) public static final class HttpDataSourceProps.Builder extends Object implements software.amazon.jsii.Builder<HttpDataSourceProps>
HttpDataSourceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
HttpDataSourceProps.Builder |
api(IGraphqlApi api)
Sets the value of
BaseDataSourceProps.getApi() |
HttpDataSourceProps.Builder |
authorizationConfig(AwsIamConfig authorizationConfig)
Sets the value of
HttpDataSourceProps.getAuthorizationConfig() |
HttpDataSourceProps |
build()
Builds the configured instance.
|
HttpDataSourceProps.Builder |
description(String description)
Sets the value of
BaseDataSourceProps.getDescription() |
HttpDataSourceProps.Builder |
endpoint(String endpoint)
Sets the value of
HttpDataSourceProps.getEndpoint() |
HttpDataSourceProps.Builder |
name(String name)
Sets the value of
BaseDataSourceProps.getName() |
@Stability(value=Experimental) public HttpDataSourceProps.Builder endpoint(String endpoint)
HttpDataSourceProps.getEndpoint()endpoint - The http endpoint. This parameter is required.this@Stability(value=Experimental) public HttpDataSourceProps.Builder authorizationConfig(AwsIamConfig authorizationConfig)
HttpDataSourceProps.getAuthorizationConfig()authorizationConfig - The authorization config in case the HTTP endpoint requires authorization.this@Stability(value=Experimental) public HttpDataSourceProps.Builder api(IGraphqlApi api)
BaseDataSourceProps.getApi()api - The API to attach this data source to. This parameter is required.this@Stability(value=Experimental) public HttpDataSourceProps.Builder description(String description)
BaseDataSourceProps.getDescription()description - the description of the data source.this@Stability(value=Experimental) public HttpDataSourceProps.Builder name(String name)
BaseDataSourceProps.getName()name - The name of the data source.this@Stability(value=Experimental) public HttpDataSourceProps build()
build in interface software.amazon.jsii.Builder<HttpDataSourceProps>HttpDataSourcePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.