public ListSubscribedWorkteamsResult withSubscribedWorkteams(SubscribedWorkteam... subscribedWorkteams) {
        if (this.subscribedWorkteams == null) {
            setSubscribedWorkteams(new java.util.ArrayList<SubscribedWorkteam>(subscribedWorkteams.length));
        }
        for (SubscribedWorkteam ele : subscribedWorkteams) {
            this.subscribedWorkteams.add(ele);
        }
        return this;
    }
<p>
An array of <code>Workteam</code> objects, each describing a work team.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSubscribedWorkteams(java.util.Collection)} or {@link #withSubscribedWorkteams(java.util.Collection)}
if you want to override the existing values.
</p>

@param subscribedWorkteams
       An array of <code>Workteam</code> objects, each describing a work team.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListSubscribedWorkteamsResult.java