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