public void setDefaultAction(String defaultAction) {
        this.defaultAction = defaultAction;
    }
<p>
The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pools
authentication doesn't match the Amazon Cognito user pools configuration.
</p>

@param defaultAction
       The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pools
       authentication doesn't match the Amazon Cognito user pools configuration.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsAppSyncGraphQlApiUserPoolConfigDetails.java