public void setUnsuccessful(java.util.Collection<TargetFailure> unsuccessful) {
        if (unsuccessful == null) {
            this.unsuccessful = null;
            return;
        }

        this.unsuccessful = new java.util.ArrayList<TargetFailure>(unsuccessful);
    }
<p>
The targets that were not registered.
</p>

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