Class AppSyncHttpDataSourceOptions.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.AppSyncHttpDataSourceOptions.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<AppSyncHttpDataSourceOptions>
- Enclosing interface:
- AppSyncHttpDataSourceOptions
@Stability(Stable)
public static final class AppSyncHttpDataSourceOptions.Builder
extends Object
implements software.amazon.jsii.Builder<AppSyncHttpDataSourceOptions>
A builder for 
AppSyncHttpDataSourceOptions- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionauthorizationConfig(AppSyncAwsIamConfig authorizationConfig) Sets the value ofAppSyncHttpDataSourceOptions.getAuthorizationConfig()build()Builds the configured instance.description(String description) Sets the value ofAppSyncDataSourceOptions.getDescription()Sets the value ofAppSyncDataSourceOptions.getName()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
authorizationConfig@Stability(Stable) public AppSyncHttpDataSourceOptions.Builder authorizationConfig(AppSyncAwsIamConfig authorizationConfig) Sets the value ofAppSyncHttpDataSourceOptions.getAuthorizationConfig()- Parameters:
- authorizationConfig- The authorization config in case the HTTP endpoint requires authorization.
- Returns:
- this
 
- 
descriptionSets the value ofAppSyncDataSourceOptions.getDescription()- Parameters:
- description- The description of the data source.
- Returns:
- this
 
- 
nameSets the value ofAppSyncDataSourceOptions.getName()- Parameters:
- name- The name of the data source, overrides the id given by CDK.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<AppSyncHttpDataSourceOptions>
- Returns:
- a new instance of AppSyncHttpDataSourceOptions
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-