public RegisterTargetsResult withSuccessful(java.util.Collection<Target> successful) {
        setSuccessful(successful);
        return this;
    }
<p>
The targets that were successfully registered.
</p>

@param successful
       The targets that were successfully registered.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-vpclattice/src/main/java/com/amazonaws/services/vpclattice/model/RegisterTargetsResult.java