public ActivityResponse withSuccessfulEndpointCount(Integer successfulEndpointCount) {
        setSuccessfulEndpointCount(successfulEndpointCount);
        return this;
    }
<p>
The total number of endpoints that the campaign successfully delivered messages to.
</p>

@param successfulEndpointCount
       The total number of endpoints that the campaign successfully delivered messages to.
@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/ActivityResponse.java