Interface DataPathColor.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataPathColor.Builder,DataPathColor>,SdkBuilder<DataPathColor.Builder,DataPathColor>,SdkPojo
- Enclosing class:
- DataPathColor
@Mutable @NotThreadSafe public static interface DataPathColor.Builder extends SdkPojo, CopyableBuilder<DataPathColor.Builder,DataPathColor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataPathColor.Buildercolor(String color)The color that needs to be applied to the element.default DataPathColor.Builderelement(Consumer<DataPathValue.Builder> element)The element that the color needs to be applied to.DataPathColor.Builderelement(DataPathValue element)The element that the color needs to be applied to.DataPathColor.BuildertimeGranularity(String timeGranularity)The time granularity of the field that the color needs to be applied to.DataPathColor.BuildertimeGranularity(TimeGranularity timeGranularity)The time granularity of the field that the color needs to be applied to.-
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
-
element
DataPathColor.Builder element(DataPathValue element)
The element that the color needs to be applied to.
- Parameters:
element- The element that the color needs to be applied to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
element
default DataPathColor.Builder element(Consumer<DataPathValue.Builder> element)
The element that the color needs to be applied to.
This is a convenience method that creates an instance of theDataPathValue.Builderavoiding the need to create one manually viaDataPathValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toelement(DataPathValue).- Parameters:
element- a consumer that will call methods onDataPathValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
element(DataPathValue)
-
color
DataPathColor.Builder color(String color)
The color that needs to be applied to the element.
- Parameters:
color- The color that needs to be applied to the element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeGranularity
DataPathColor.Builder timeGranularity(String timeGranularity)
The time granularity of the field that the color needs to be applied to.
- Parameters:
timeGranularity- The time granularity of the field that the color needs to be applied to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeGranularity,TimeGranularity
-
timeGranularity
DataPathColor.Builder timeGranularity(TimeGranularity timeGranularity)
The time granularity of the field that the color needs to be applied to.
- Parameters:
timeGranularity- The time granularity of the field that the color needs to be applied to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeGranularity,TimeGranularity
-
-