Class CfnDataSource.HttpConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnDataSource.HttpConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.HttpConfigProperty>
- Enclosing interface:
CfnDataSource.HttpConfigProperty
@Stability(Stable)
public static final class CfnDataSource.HttpConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.HttpConfigProperty>
A builder for
CfnDataSource.HttpConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationConfig
(IResolvable authorizationConfig) Sets the value ofCfnDataSource.HttpConfigProperty.getAuthorizationConfig()
authorizationConfig
(CfnDataSource.AuthorizationConfigProperty authorizationConfig) Sets the value ofCfnDataSource.HttpConfigProperty.getAuthorizationConfig()
build()
Builds the configured instance.Sets the value ofCfnDataSource.HttpConfigProperty.getEndpoint()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpoint
Sets the value ofCfnDataSource.HttpConfigProperty.getEndpoint()
- Parameters:
endpoint
- The endpoint. This parameter is required.- Returns:
this
-
authorizationConfig
@Stability(Stable) public CfnDataSource.HttpConfigProperty.Builder authorizationConfig(IResolvable authorizationConfig) Sets the value ofCfnDataSource.HttpConfigProperty.getAuthorizationConfig()
- Parameters:
authorizationConfig
- The authorization configuration.- Returns:
this
-
authorizationConfig
@Stability(Stable) public CfnDataSource.HttpConfigProperty.Builder authorizationConfig(CfnDataSource.AuthorizationConfigProperty authorizationConfig) Sets the value ofCfnDataSource.HttpConfigProperty.getAuthorizationConfig()
- Parameters:
authorizationConfig
- The authorization configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.HttpConfigProperty>
- Returns:
- a new instance of
CfnDataSource.HttpConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-