public static class EncodedItemComposedKey.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(java.lang.String content) |
| Modifier and Type | Method and Description |
|---|---|
EncodedItemComposedKey |
build()
Builds an
EncodedItemComposedKey. |
EncodedItemComposedKey.Builder |
encoded()
Set encoded attribute to true, which will affect how the build() method works.
|
protected EncodedItemComposedKey |
fromEncodedString(java.lang.String encodedString)
Returns the object represented by the Base64 value.
|
protected EncodedItemComposedKey |
fromJsonString(java.lang.String jsonString)
Returns the object represented by the JSON string parameter.
|
public EncodedItemComposedKey.Builder encoded()
protected EncodedItemComposedKey fromJsonString(java.lang.String jsonString)
{
"itemId": "item-id",
"catalogId": "catalog-id",
"catalogVersion": "catalog-version"
}
jsonString - the JSON string representation of this objectprotected EncodedItemComposedKey fromEncodedString(java.lang.String encodedString)
{
"itemId": "item-id",
"catalogId": "catalog-id",
"catalogVersion": "catalog-version"
}
The object returned will be returned after the following transformation:
object = fromJson(base64Decode(value))
encodedString - the encoded content to be convertedfor more details about the encoding algorithm.public EncodedItemComposedKey build()
EncodedItemComposedKey.EncodedItemComposedKey that was builtCopyright © 2018 SAP SE. All Rights Reserved.