Interface PropertyDefinitionRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PropertyDefinitionRequest.Builder,PropertyDefinitionRequest>,SdkBuilder<PropertyDefinitionRequest.Builder,PropertyDefinitionRequest>,SdkPojo
- Enclosing class:
- PropertyDefinitionRequest
public static interface PropertyDefinitionRequest.Builder extends SdkPojo, CopyableBuilder<PropertyDefinitionRequest.Builder,PropertyDefinitionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PropertyDefinitionRequest.Builderconfiguration(Map<String,String> configuration)A mapping that specifies configuration information about the property.default PropertyDefinitionRequest.BuilderdataType(Consumer<DataType.Builder> dataType)An object that contains information about the data type.PropertyDefinitionRequest.BuilderdataType(DataType dataType)An object that contains information about the data type.default PropertyDefinitionRequest.BuilderdefaultValue(Consumer<DataValue.Builder> defaultValue)An object that contains the default value.PropertyDefinitionRequest.BuilderdefaultValue(DataValue defaultValue)An object that contains the default value.PropertyDefinitionRequest.BuilderdisplayName(String displayName)A friendly name for the property.PropertyDefinitionRequest.BuilderisExternalId(Boolean isExternalId)A Boolean value that specifies whether the property ID comes from an external data store.PropertyDefinitionRequest.BuilderisRequiredInEntity(Boolean isRequiredInEntity)A Boolean value that specifies whether the property is required.PropertyDefinitionRequest.BuilderisStoredExternally(Boolean isStoredExternally)A Boolean value that specifies whether the property is stored externally.PropertyDefinitionRequest.BuilderisTimeSeries(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dataType
PropertyDefinitionRequest.Builder dataType(DataType 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
default PropertyDefinitionRequest.Builder dataType(Consumer<DataType.Builder> 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:
dataType(DataType)
-
isRequiredInEntity
PropertyDefinitionRequest.Builder isRequiredInEntity(Boolean 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
PropertyDefinitionRequest.Builder isExternalId(Boolean 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
PropertyDefinitionRequest.Builder isStoredExternally(Boolean 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
PropertyDefinitionRequest.Builder isTimeSeries(Boolean 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
PropertyDefinitionRequest.Builder defaultValue(DataValue 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
default PropertyDefinitionRequest.Builder defaultValue(Consumer<DataValue.Builder> 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:
defaultValue(DataValue)
-
configuration
PropertyDefinitionRequest.Builder configuration(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.
- 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
PropertyDefinitionRequest.Builder displayName(String 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.
-
-