@Generated(value="software.amazon.awssdk:codegen") public final class PropertyDefinitionResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PropertyDefinitionResponse.Builder,PropertyDefinitionResponse>
An object that contains response data from a property definition request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PropertyDefinitionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PropertyDefinitionResponse.Builder |
builder() |
Map<String,String> |
configuration()
A mapping that specifies configuration information about the property.
|
DataType |
dataType()
An object that contains information about the data type.
|
DataValue |
defaultValue()
An object that contains the default value.
|
String |
displayName()
A friendly name for the property.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasConfiguration()
For responses, this returns true if the service returned a value for the Configuration property.
|
int |
hashCode() |
Boolean |
isExternalId()
A Boolean value that specifies whether the property ID comes from an external data store.
|
Boolean |
isFinal()
A Boolean value that specifies whether the property definition can be updated.
|
Boolean |
isImported()
A Boolean value that specifies whether the property definition is imported from an external data store.
|
Boolean |
isInherited()
A Boolean value that specifies whether the property definition is inherited from a parent entity.
|
Boolean |
isRequiredInEntity()
A Boolean value that specifies whether the property is required in an entity.
|
Boolean |
isStoredExternally()
A Boolean value that specifies whether the property is stored externally.
|
Boolean |
isTimeSeries()
A Boolean value that specifies whether the property consists of time series data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PropertyDefinitionResponse.Builder> |
serializableBuilderClass() |
PropertyDefinitionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DataType dataType()
An object that contains information about the data type.
public final Boolean isTimeSeries()
A Boolean value that specifies whether the property consists of time series data.
public final Boolean isRequiredInEntity()
A Boolean value that specifies whether the property is required in an entity.
public final Boolean isExternalId()
A Boolean value that specifies whether the property ID comes from an external data store.
public final Boolean isStoredExternally()
A Boolean value that specifies whether the property is stored externally.
public final Boolean isImported()
A Boolean value that specifies whether the property definition is imported from an external data store.
public final Boolean isFinal()
A Boolean value that specifies whether the property definition can be updated.
public final Boolean isInherited()
A Boolean value that specifies whether the property definition is inherited from a parent entity.
public final DataValue defaultValue()
An object that contains the default value.
public final boolean hasConfiguration()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> configuration()
A mapping that specifies configuration information about the property.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasConfiguration() method.
public final String displayName()
A friendly name for the property.
public PropertyDefinitionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PropertyDefinitionResponse.Builder,PropertyDefinitionResponse>public static PropertyDefinitionResponse.Builder builder()
public static Class<? extends PropertyDefinitionResponse.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.