public CannotDeleteException withName(String name) {
        setName(name);
        return this;
    }
<p>
Indicates that a resource could not be deleted because no resource with the specified name exists.
</p>

@param name
       Indicates that a resource could not be deleted because no resource with the specified name exists.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/CannotDeleteException.java