public ImpactedLocation withCausedBy(NetworkImpairment causedBy) {
        setCausedBy(causedBy);
        return this;
    }
<p>
The cause of the impairment. There are two types of network impairments: Amazon Web Services network issues or
internet issues. Internet issues are typically a problem with a network provider, like an internet service
provider (ISP).
</p>

@param causedBy
       The cause of the impairment. There are two types of network impairments: Amazon Web Services network
       issues or internet issues. Internet issues are typically a problem with a network provider, like an
       internet service provider (ISP).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-internetmonitor/src/main/java/com/amazonaws/services/internetmonitor/model/ImpactedLocation.java