Class AudioAnalysisMeasure.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.miscellaneous.AudioAnalysisMeasure.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
AudioAnalysisMeasure
Builder class for building
AudioAnalysisMeasure
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a model object with the information set in the builder object.setConfidence
(Float confidence) The confidence setter.setDuration
(Float duration) The duration setter.The start point setter.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setConfidence
The confidence setter.- Parameters:
confidence
- The confidence value of the measurement between 0.0 and 1.0.- Returns:
- An
AudioAnalysisMeasure.Builder
.
-
setDuration
The duration setter.- Parameters:
duration
- The duration of the measurement in seconds.- Returns:
- An
AudioAnalysisMeasure.Builder
.
-
setStart
The start point setter.- Parameters:
start
- The start point of the measurement.- Returns:
- An
AudioAnalysisMeasure.Builder
.
-
build
Description copied from interface:IModelObject.Builder
Build a model object with the information set in the builder object.
The type of the model object and its methods depend on its corresponding implementation.- Returns:
- A model object.
-