public InterMetricImpactDetails withRelationshipType(RelationshipType relationshipType) {
        this.relationshipType = relationshipType.toString();
        return this;
    }
<p>
Whether a measure is a potential cause of the anomaly group (<code>CAUSE_OF_INPUT_ANOMALY_GROUP</code>), or
whether the measure is impacted by the anomaly group (<code>EFFECT_OF_INPUT_ANOMALY_GROUP</code>).
</p>

@param relationshipType
       Whether a measure is a potential cause of the anomaly group (<code>CAUSE_OF_INPUT_ANOMALY_GROUP</code>),
       or whether the measure is impacted by the anomaly group (<code>EFFECT_OF_INPUT_ANOMALY_GROUP</code>).
@return Returns a reference to this object so that method calls can be chained together.
@see RelationshipType
aws-java-sdk-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/model/InterMetricImpactDetails.java