Interface FoodType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FoodType.Builder,FoodType>,SdkBuilder<FoodType.Builder,FoodType>,SdkPojo
- Enclosing class:
- FoodType
public static interface FoodType.Builder extends SdkPojo, CopyableBuilder<FoodType.Builder,FoodType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FoodType.Builderid(String id)The Food Type Id.FoodType.BuilderlocalizedName(String localizedName)Localized name of the food type.FoodType.Builderprimary(Boolean primary)Boolean which indicates if this food type is the primary offered by the place.-
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
-
localizedName
FoodType.Builder localizedName(String localizedName)
Localized name of the food type.
- Parameters:
localizedName- Localized name of the food type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
FoodType.Builder id(String id)
The Food Type Id.
- Parameters:
id- The Food Type Id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primary
FoodType.Builder primary(Boolean primary)
Boolean which indicates if this food type is the primary offered by the place. For example, if a location serves fast food, but also dessert, he primary would likely be fast food.
- Parameters:
primary- Boolean which indicates if this food type is the primary offered by the place. For example, if a location serves fast food, but also dessert, he primary would likely be fast food.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-