public void setSuccessful(java.util.Collection<Target> successful) {
        if (successful == null) {
            this.successful = null;
            return;
        }

        this.successful = new java.util.ArrayList<Target>(successful);
    }
<p>
The targets that were successfully registered.
</p>

@param successful
       The targets that were successfully registered.
aws-java-sdk-vpclattice/src/main/java/com/amazonaws/services/vpclattice/model/RegisterTargetsResult.java