Class AudioAnalysisMeta.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.miscellaneous.AudioAnalysisMeta.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
AudioAnalysisMeta
Builder class for building
AudioAnalysisMeta
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a model object with the information set in the builder object.setAnalysisTime
(Float analysisTime) The analysis time setter.setAnalyzerVersion
(String analyzerVersion) The Analyzer software version setter.setDetailedStatus
(String detailedStatus) The detailed status setter.setInputProcess
(String inputProcess) The input process setter.setPlatform
(String platform) The platform setter.setStatusCode
(Integer statusCode) The status code setter.setTimestamp
(Long timestamp) The timestamp setter.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setAnalyzerVersion
The Analyzer software version setter.- Parameters:
analyzerVersion
- Analyzer software version.- Returns:
- An
AudioAnalysisMeta.Builder
.
-
setPlatform
The platform setter.- Parameters:
platform
- The platform name.- Returns:
- An
AudioAnalysisMeta.Builder
.
-
setDetailedStatus
The detailed status setter.- Parameters:
detailedStatus
- The detailed status of the Analyzer software.- Returns:
- An
AudioAnalysisMeta.Builder
.
-
setStatusCode
The status code setter.- Parameters:
statusCode
- The exit status code. (Should be 0)- Returns:
- An
AudioAnalysisMeta.Builder
.
-
setTimestamp
The timestamp setter.- Parameters:
timestamp
- Timestamp of audio analysis.- Returns:
- An
AudioAnalysisMeta.Builder
.
-
setAnalysisTime
The analysis time setter.- Parameters:
analysisTime
- Duration of the audio analysis.- Returns:
- An
AudioAnalysisMeta.Builder
.
-
setInputProcess
The input process setter.- Parameters:
inputProcess
- The input process of the audio analysis.- Returns:
- An
AudioAnalysisMeta.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.
-