public EksPodPropertiesDetail withImagePullSecrets(ImagePullSecret... imagePullSecrets) {
        if (this.imagePullSecrets == null) {
            setImagePullSecrets(new java.util.ArrayList<ImagePullSecret>(imagePullSecrets.length));
        }
        for (ImagePullSecret ele : imagePullSecrets) {
            this.imagePullSecrets.add(ele);
        }
        return this;
    }
<p>
Displays the reference pointer to the Kubernetes secret resource. These secrets help to gain access to pull an
images from a private registry.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setImagePullSecrets(java.util.Collection)} or {@link #withImagePullSecrets(java.util.Collection)} if you
want to override the existing values.
</p>

@param imagePullSecrets
       Displays the reference pointer to the Kubernetes secret resource. These secrets help to gain access to
       pull an images from a private registry.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/EksPodPropertiesDetail.java