public Observation withS3EventName(String s3EventName) {
        setS3EventName(s3EventName);
        return this;
    }
<p>
The name of the S3 CloudWatch Event-based observation.
</p>

@param s3EventName
       The name of the S3 CloudWatch Event-based observation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-applicationinsights/src/main/java/com/amazonaws/services/applicationinsights/model/Observation.java