public EndpointBatchRequest withItem(java.util.Collection<EndpointBatchItem> item) {
        setItem(item);
        return this;
    }
<p>
An array that defines the endpoints to create or update and, for each endpoint, the property values to set or
change. An array can contain a maximum of 100 items.
</p>

@param item
       An array that defines the endpoints to create or update and, for each endpoint, the property values to set
       or change. An array can contain a maximum of 100 items.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/EndpointBatchRequest.java