Interface PropertyDefinitionRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PropertyDefinitionRequest.Builder,,PropertyDefinitionRequest> SdkBuilder<PropertyDefinitionRequest.Builder,,PropertyDefinitionRequest> SdkPojo
- Enclosing class:
PropertyDefinitionRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration(Map<String, String> configuration) A mapping that specifies configuration information about the property.dataType(Consumer<DataType.Builder> dataType) An object that contains information about the data type.An object that contains information about the data type.defaultValue(Consumer<DataValue.Builder> defaultValue) An object that contains the default value.defaultValue(DataValue defaultValue) An object that contains the default value.displayName(String displayName) A friendly name for the property.isExternalId(Boolean isExternalId) A Boolean value that specifies whether the property ID comes from an external data store.isRequiredInEntity(Boolean isRequiredInEntity) A Boolean value that specifies whether the property is required.isStoredExternally(Boolean isStoredExternally) A Boolean value that specifies whether the property is stored externally.isTimeSeries(Boolean isTimeSeries) A Boolean value that specifies whether the property consists of time series data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dataType
An object that contains information about the data type.
- Parameters:
dataType- An object that contains information about the data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataType
An object that contains information about the data type.
This is a convenience method that creates an instance of theDataType.Builderavoiding the need to create one manually viaDataType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataType(DataType).- Parameters:
dataType- a consumer that will call methods onDataType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isRequiredInEntity
A Boolean value that specifies whether the property is required.
- Parameters:
isRequiredInEntity- A Boolean value that specifies whether the property is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isExternalId
A Boolean value that specifies whether the property ID comes from an external data store.
- Parameters:
isExternalId- A Boolean value that specifies whether the property ID comes from an external data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isStoredExternally
A Boolean value that specifies whether the property is stored externally.
- Parameters:
isStoredExternally- A Boolean value that specifies whether the property is stored externally.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTimeSeries
A Boolean value that specifies whether the property consists of time series data.
- Parameters:
isTimeSeries- A Boolean value that specifies whether the property consists of time series data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
An object that contains the default value.
- Parameters:
defaultValue- An object that contains the default value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
An object that contains the default value.
This is a convenience method that creates an instance of theDataValue.Builderavoiding the need to create one manually viaDataValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultValue(DataValue).- Parameters:
defaultValue- a consumer that will call methods onDataValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
A friendly name for the property.
- Parameters:
displayName- A friendly name for the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-