public Target withAppSyncParameters(AppSyncParameters appSyncParameters) {
        setAppSyncParameters(appSyncParameters);
        return this;
    }
<p>
Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.
</p>

@param appSyncParameters
       Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/Target.java