@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PropertyDefinitionRequest extends Object implements Serializable, Cloneable, StructuredPojo
An object that sets information about a property.
Constructor and Description |
---|
PropertyDefinitionRequest() |
Modifier and Type | Method and Description |
---|---|
PropertyDefinitionRequest |
addConfigurationEntry(String key,
String value)
Add a single Configuration entry
|
PropertyDefinitionRequest |
clearConfigurationEntries()
Removes all the entries added into Configuration.
|
PropertyDefinitionRequest |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getConfiguration()
A mapping that specifies configuration information about the property.
|
DataType |
getDataType()
An object that contains information about the data type.
|
DataValue |
getDefaultValue()
An object that contains the default value.
|
Boolean |
getIsExternalId()
A Boolean value that specifies whether the property ID comes from an external data store.
|
Boolean |
getIsRequiredInEntity()
A Boolean value that specifies whether the property is required.
|
Boolean |
getIsStoredExternally()
A Boolean value that specifies whether the property is stored externally.
|
Boolean |
getIsTimeSeries()
A Boolean value that specifies whether the property consists of time series data.
|
int |
hashCode() |
Boolean |
isExternalId()
A Boolean value that specifies whether the property ID comes from an external data store.
|
Boolean |
isRequiredInEntity()
A Boolean value that specifies whether the property is required.
|
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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(Map<String,String> configuration)
A mapping that specifies configuration information about the property.
|
void |
setDataType(DataType dataType)
An object that contains information about the data type.
|
void |
setDefaultValue(DataValue defaultValue)
An object that contains the default value.
|
void |
setIsExternalId(Boolean isExternalId)
A Boolean value that specifies whether the property ID comes from an external data store.
|
void |
setIsRequiredInEntity(Boolean isRequiredInEntity)
A Boolean value that specifies whether the property is required.
|
void |
setIsStoredExternally(Boolean isStoredExternally)
A Boolean value that specifies whether the property is stored externally.
|
void |
setIsTimeSeries(Boolean isTimeSeries)
A Boolean value that specifies whether the property consists of time series data.
|
String |
toString()
Returns a string representation of this object.
|
PropertyDefinitionRequest |
withConfiguration(Map<String,String> configuration)
A mapping that specifies configuration information about the property.
|
PropertyDefinitionRequest |
withDataType(DataType dataType)
An object that contains information about the data type.
|
PropertyDefinitionRequest |
withDefaultValue(DataValue defaultValue)
An object that contains the default value.
|
PropertyDefinitionRequest |
withIsExternalId(Boolean isExternalId)
A Boolean value that specifies whether the property ID comes from an external data store.
|
PropertyDefinitionRequest |
withIsRequiredInEntity(Boolean isRequiredInEntity)
A Boolean value that specifies whether the property is required.
|
PropertyDefinitionRequest |
withIsStoredExternally(Boolean isStoredExternally)
A Boolean value that specifies whether the property is stored externally.
|
PropertyDefinitionRequest |
withIsTimeSeries(Boolean isTimeSeries)
A Boolean value that specifies whether the property consists of time series data.
|
public Map<String,String> getConfiguration()
A mapping that specifies configuration information about the property. Use this field to specify information that you read from and write to an external source.
public void setConfiguration(Map<String,String> configuration)
A mapping that specifies configuration information about the property. Use this field to specify information that you read from and write to an external source.
configuration
- A mapping that specifies configuration information about the property. Use this field to specify
information that you read from and write to an external source.public PropertyDefinitionRequest withConfiguration(Map<String,String> configuration)
A mapping that specifies configuration information about the property. Use this field to specify information that you read from and write to an external source.
configuration
- A mapping that specifies configuration information about the property. Use this field to specify
information that you read from and write to an external source.public PropertyDefinitionRequest addConfigurationEntry(String key, String value)
public PropertyDefinitionRequest clearConfigurationEntries()
public void setDataType(DataType dataType)
An object that contains information about the data type.
dataType
- An object that contains information about the data type.public DataType getDataType()
An object that contains information about the data type.
public PropertyDefinitionRequest withDataType(DataType dataType)
An object that contains information about the data type.
dataType
- An object that contains information about the data type.public void setDefaultValue(DataValue defaultValue)
An object that contains the default value.
defaultValue
- An object that contains the default value.public DataValue getDefaultValue()
An object that contains the default value.
public PropertyDefinitionRequest withDefaultValue(DataValue defaultValue)
An object that contains the default value.
defaultValue
- An object that contains the default value.public void setIsExternalId(Boolean isExternalId)
A Boolean value that specifies whether the property ID comes from an external data store.
isExternalId
- A Boolean value that specifies whether the property ID comes from an external data store.public Boolean getIsExternalId()
A Boolean value that specifies whether the property ID comes from an external data store.
public PropertyDefinitionRequest withIsExternalId(Boolean isExternalId)
A Boolean value that specifies whether the property ID comes from an external data store.
isExternalId
- A Boolean value that specifies whether the property ID comes from an external data store.public Boolean isExternalId()
A Boolean value that specifies whether the property ID comes from an external data store.
public void setIsRequiredInEntity(Boolean isRequiredInEntity)
A Boolean value that specifies whether the property is required.
isRequiredInEntity
- A Boolean value that specifies whether the property is required.public Boolean getIsRequiredInEntity()
A Boolean value that specifies whether the property is required.
public PropertyDefinitionRequest withIsRequiredInEntity(Boolean isRequiredInEntity)
A Boolean value that specifies whether the property is required.
isRequiredInEntity
- A Boolean value that specifies whether the property is required.public Boolean isRequiredInEntity()
A Boolean value that specifies whether the property is required.
public void setIsStoredExternally(Boolean isStoredExternally)
A Boolean value that specifies whether the property is stored externally.
isStoredExternally
- A Boolean value that specifies whether the property is stored externally.public Boolean getIsStoredExternally()
A Boolean value that specifies whether the property is stored externally.
public PropertyDefinitionRequest withIsStoredExternally(Boolean isStoredExternally)
A Boolean value that specifies whether the property is stored externally.
isStoredExternally
- A Boolean value that specifies whether the property is stored externally.public Boolean isStoredExternally()
A Boolean value that specifies whether the property is stored externally.
public void setIsTimeSeries(Boolean isTimeSeries)
A Boolean value that specifies whether the property consists of time series data.
isTimeSeries
- A Boolean value that specifies whether the property consists of time series data.public Boolean getIsTimeSeries()
A Boolean value that specifies whether the property consists of time series data.
public PropertyDefinitionRequest withIsTimeSeries(Boolean isTimeSeries)
A Boolean value that specifies whether the property consists of time series data.
isTimeSeries
- A Boolean value that specifies whether the property consists of time series data.public Boolean isTimeSeries()
A Boolean value that specifies whether the property consists of time series data.
public String toString()
toString
in class Object
Object.toString()
public PropertyDefinitionRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.