@Beta public class KeyProperty extends Object
Modifier and Type | Class and Description |
---|---|
static class |
KeyProperty.Builder
A builder class to fluently generate an instance of
KeyProperty . |
Constructor and Description |
---|
KeyProperty(String nameInMessagePayload,
String exposedName)
Creates a new instance of
KeyProperty based on the given values. |
Modifier and Type | Method and Description |
---|---|
static KeyProperty.Builder |
builder()
Creates a builder that can be used to fluently create an instance of
KeyProperty . |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getExposedName()
The name of the key as it should be exposed in the messaging class.
|
String |
getNameInMessagePayload()
The name of the key as contained in the message payload.
|
int |
hashCode() |
String |
toString() |
public KeyProperty(@Nonnull String nameInMessagePayload, @Nonnull String exposedName)
KeyProperty
based on the given values.nameInMessagePayload
- The name of the key as contained in the message payload.exposedName
- The name of the key as it should be exposed in the messaging class.@Nonnull public static KeyProperty.Builder builder()
KeyProperty
.KeyProperty.Builder
.protected boolean canEqual(Object other)
@Nonnull public String getNameInMessagePayload()
Copyright © 2019 SAP SE. All rights reserved.