Class CfnDataSource.AuthorizationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnDataSource.AuthorizationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.AuthorizationConfigProperty>
- Enclosing interface:
CfnDataSource.AuthorizationConfigProperty
@Stability(Stable)
public static final class CfnDataSource.AuthorizationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.AuthorizationConfigProperty>
A builder for
CfnDataSource.AuthorizationConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationType
(String authorizationType) Sets the value ofCfnDataSource.AuthorizationConfigProperty.getAuthorizationType()
awsIamConfig
(IResolvable awsIamConfig) Sets the value ofCfnDataSource.AuthorizationConfigProperty.getAwsIamConfig()
awsIamConfig
(CfnDataSource.AwsIamConfigProperty awsIamConfig) Sets the value ofCfnDataSource.AuthorizationConfigProperty.getAwsIamConfig()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationType
@Stability(Stable) public CfnDataSource.AuthorizationConfigProperty.Builder authorizationType(String authorizationType) Sets the value ofCfnDataSource.AuthorizationConfigProperty.getAuthorizationType()
- Parameters:
authorizationType
- The authorization type that the HTTP endpoint requires. This parameter is required.- AWS_IAM : The authorization type is Signature Version 4 (SigV4).
- Returns:
this
-
awsIamConfig
@Stability(Stable) public CfnDataSource.AuthorizationConfigProperty.Builder awsIamConfig(IResolvable awsIamConfig) Sets the value ofCfnDataSource.AuthorizationConfigProperty.getAwsIamConfig()
- Parameters:
awsIamConfig
- The AWS Identity and Access Management settings.- Returns:
this
-
awsIamConfig
@Stability(Stable) public CfnDataSource.AuthorizationConfigProperty.Builder awsIamConfig(CfnDataSource.AwsIamConfigProperty awsIamConfig) Sets the value ofCfnDataSource.AuthorizationConfigProperty.getAwsIamConfig()
- Parameters:
awsIamConfig
- The AWS Identity and Access Management settings.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.AuthorizationConfigProperty>
- Returns:
- a new instance of
CfnDataSource.AuthorizationConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-