@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getName() != null)
            sb.append("Name: ").append(getName()).append(",");
        if (getValue() != null)
            sb.append("Value: ").append(getValue()).append(",");
        sb.append("}");
        return sb.toString();
    }
Set the metadata value.

@param metadataValue The metadata value.
@return This object for chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/MetadataEntry.java