public Metrics withStatus(MetricsStatus status) {
        this.status = status.toString();
        return this;
    }
Set whether the replication metrics are enabled.

@param status The status.
@return This object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/Metrics.java