public CreateFargateProfileRequest withSelectors(FargateProfileSelector... selectors) {
        if (this.selectors == null) {
            setSelectors(new java.util.ArrayList<FargateProfileSelector>(selectors.length));
        }
        for (FargateProfileSelector ele : selectors) {
            this.selectors.add(ele);
        }
        return this;
    }
<p>
The selectors to match for a <code>Pod</code> to use this Fargate profile. Each selector must have an associated
Kubernetes <code>namespace</code>. Optionally, you can also specify <code>labels</code> for a
<code>namespace</code>. You may specify up to five selectors in a Fargate profile.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSelectors(java.util.Collection)} or {@link #withSelectors(java.util.Collection)} if you want to
override the existing values.
</p>

@param selectors
       The selectors to match for a <code>Pod</code> to use this Fargate profile. Each selector must have an
       associated Kubernetes <code>namespace</code>. Optionally, you can also specify <code>labels</code> for a
       <code>namespace</code>. You may specify up to five selectors in a Fargate profile.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/CreateFargateProfileRequest.java