public AttachmentContent withHashType(String hashType) {
        setHashType(hashType);
        return this;
    }
<p>
The hash algorithm used to calculate the hash value.
</p>

@param hashType
       The hash algorithm used to calculate the hash value.
@return Returns a reference to this object so that method calls can be chained together.
@see AttachmentHashType
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/AttachmentContent.java