public ResourceNotFoundException withAmznErrorType(String amznErrorType) {
        setAmznErrorType(amznErrorType);
        return this;
    }
<p>
The name of the exception.
</p>

@param amznErrorType
       The name of the exception.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-oam/src/main/java/com/amazonaws/services/oam/model/ResourceNotFoundException.java