public ResourceDrift withDiffType(DifferenceType diffType) {
        this.diffType = diffType.toString();
        return this;
    }
<p>
Indicates if the resource was added or removed.
</p>

@param diffType
       Indicates if the resource was added or removed.
@return Returns a reference to this object so that method calls can be chained together.
@see DifferenceType
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/ResourceDrift.java