public LogSource withRegion(String region) {
        setRegion(region);
        return this;
    }
<p>
Specify the Regions from which you want to collect logs.
</p>

@param region
       Specify the Regions from which you want to collect logs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securitylake/src/main/java/com/amazonaws/services/securitylake/model/LogSource.java