Class SourceApiAssociationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.appsync.SourceApiAssociationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SourceApiAssociationReference>
- Enclosing interface:
SourceApiAssociationReference
@Stability(Stable)
public static final class SourceApiAssociationReference.Builder
extends Object
implements software.amazon.jsii.Builder<SourceApiAssociationReference>
A builder for
SourceApiAssociationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociationArn(String associationArn) Sets the value ofSourceApiAssociationReference.getAssociationArn()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associationArn
@Stability(Stable) public SourceApiAssociationReference.Builder associationArn(String associationArn) Sets the value ofSourceApiAssociationReference.getAssociationArn()- Parameters:
associationArn- The AssociationArn of the SourceApiAssociation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SourceApiAssociationReference>- Returns:
- a new instance of
SourceApiAssociationReference - Throws:
NullPointerException- if any required attribute was not provided
-