Class GraphQLApiReference.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.GraphQLApiReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GraphQLApiReference>
- Enclosing interface:
GraphQLApiReference
@Stability(Stable)
public static final class GraphQLApiReference.Builder
extends Object
implements software.amazon.jsii.Builder<GraphQLApiReference>
A builder for
GraphQLApiReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofGraphQLApiReference.getApiId()
build()
Builds the configured instance.graphQlApiArn
(String graphQlApiArn) Sets the value ofGraphQLApiReference.getGraphQlApiArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiId
Sets the value ofGraphQLApiReference.getApiId()
- Parameters:
apiId
- The ApiId of the GraphQLApi resource. This parameter is required.- Returns:
this
-
graphQlApiArn
Sets the value ofGraphQLApiReference.getGraphQlApiArn()
- Parameters:
graphQlApiArn
- The ARN of the GraphQLApi resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GraphQLApiReference>
- Returns:
- a new instance of
GraphQLApiReference
- Throws:
NullPointerException
- if any required attribute was not provided
-