public WriteGetObjectResponseRequest withMetadata(ObjectMetadata metadata) {
        this.metadata = metadata;
        return this;
    }
Set a map of metadata to store with the object in S3.

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