Class AppSyncAwsIamConfig.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.AppSyncAwsIamConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppSyncAwsIamConfig>
- Enclosing interface:
AppSyncAwsIamConfig
@Stability(Stable)
public static final class AppSyncAwsIamConfig.Builder
extends Object
implements software.amazon.jsii.Builder<AppSyncAwsIamConfig>
A builder for
AppSyncAwsIamConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.signingRegion(String signingRegion) Sets the value ofAppSyncAwsIamConfig.getSigningRegion()signingServiceName(String signingServiceName) Sets the value ofAppSyncAwsIamConfig.getSigningServiceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
signingRegion
Sets the value ofAppSyncAwsIamConfig.getSigningRegion()- Parameters:
signingRegion- The signing region for AWS IAM authorization. This parameter is required.- Returns:
this
-
signingServiceName
Sets the value ofAppSyncAwsIamConfig.getSigningServiceName()- Parameters:
signingServiceName- The signing service name for AWS IAM authorization. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppSyncAwsIamConfig>- Returns:
- a new instance of
AppSyncAwsIamConfig - Throws:
NullPointerException- if any required attribute was not provided
-