public ConnectorConfiguration withSupportedTriggerTypes(String... supportedTriggerTypes) {
        if (this.supportedTriggerTypes == null) {
            setSupportedTriggerTypes(new java.util.ArrayList<String>(supportedTriggerTypes.length));
        }
        for (String ele : supportedTriggerTypes) {
            this.supportedTriggerTypes.add(ele);
        }
        return this;
    }
<p>
Specifies the supported trigger types for the flow.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSupportedTriggerTypes(java.util.Collection)} or
{@link #withSupportedTriggerTypes(java.util.Collection)} if you want to override the existing values.
</p>

@param supportedTriggerTypes
       Specifies the supported trigger types for the flow.
@return Returns a reference to this object so that method calls can be chained together.
@see TriggerType
aws-java-sdk-appflow/src/main/java/com/amazonaws/services/appflow/model/ConnectorConfiguration.java