public PutImageTagMutabilityRequest withImageTagMutability(ImageTagMutability imageTagMutability) {
        this.imageTagMutability = imageTagMutability.toString();
        return this;
    }
<p>
The tag mutability setting for the repository. If <code>MUTABLE</code> is specified, image tags can be
overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the repository will be immutable which
will prevent them from being overwritten.
</p>

@param imageTagMutability
       The tag mutability setting for the repository. If <code>MUTABLE</code> is specified, image tags can be
       overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the repository will be
       immutable which will prevent them from being overwritten.
@return Returns a reference to this object so that method calls can be chained together.
@see ImageTagMutability
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/PutImageTagMutabilityRequest.java