public void setEndpoints(java.util.Collection<Endpoint> endpoints) {
        if (endpoints == null) {
            this.endpoints = null;
            return;
        }

        this.endpoints = new com.amazonaws.internal.SdkInternalList<Endpoint>(endpoints);
    }
public void setEndpoints ( java . util . Collection < Endpoint > endpoints ) { if ( endpoints == null ) { this . endpoints = null ; return ; } this . endpoints = new com . amazonaws . internal . SdkInternalList < Endpoint > ( endpoints ) ; }
<p>
Endpoints returned for ListEndpointsByPlatformApplication action.
</p>

@param endpoints
Endpoints returned for ListEndpointsByPlatformApplication action.