Class InteractionAnalyzeResponse.Analysis.Builder
-
- All Implemented Interfaces:
public final class InteractionAnalyzeResponse.Analysis.BuilderA builder for Analysis.
-
-
Method Summary
-
-
Method Detail
-
id
final InteractionAnalyzeResponse.Analysis.Builder id(String id)
The unique identifier for the analyzer.
-
id
final InteractionAnalyzeResponse.Analysis.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
configuration
final InteractionAnalyzeResponse.Analysis.Builder configuration(InteractionAnalyzeResponse.Analysis.Configuration configuration)
The configuration settings used for the analyzer.
-
configuration
final InteractionAnalyzeResponse.Analysis.Builder configuration(JsonField<InteractionAnalyzeResponse.Analysis.Configuration> configuration)
Sets Builder.configuration to an arbitrary JSON value.
You should usually call Builder.configuration with a well-typed Configuration value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
detected
final InteractionAnalyzeResponse.Analysis.Builder detected(Boolean detected)
Indicates the analysis resulted in a detection.
-
detected
final InteractionAnalyzeResponse.Analysis.Builder detected(JsonField<Boolean> detected)
Sets Builder.detected to an arbitrary JSON value.
You should usually call Builder.detected with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
findings
final InteractionAnalyzeResponse.Analysis.Builder findings(InteractionAnalyzeResponse.Analysis.Findings findings)
The frameworks and associated findings for the analysis.
-
findings
final InteractionAnalyzeResponse.Analysis.Builder findings(JsonField<InteractionAnalyzeResponse.Analysis.Findings> findings)
Sets Builder.findings to an arbitrary JSON value.
You should usually call Builder.findings with a well-typed Findings value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final InteractionAnalyzeResponse.Analysis.Builder name(String name)
The name of the analysis performed.
-
name
final InteractionAnalyzeResponse.Analysis.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
phase
final InteractionAnalyzeResponse.Analysis.Builder phase(String phase)
The phase of the analysis (i.e. input or output).
-
phase
final InteractionAnalyzeResponse.Analysis.Builder phase(JsonField<String> phase)
Sets Builder.phase to an arbitrary JSON value.
You should usually call Builder.phase with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
processingTimeMs
final InteractionAnalyzeResponse.Analysis.Builder processingTimeMs(Double processingTimeMs)
The time taken to perform this specific analysis.
-
processingTimeMs
final InteractionAnalyzeResponse.Analysis.Builder processingTimeMs(JsonField<Double> processingTimeMs)
Sets Builder.processingTimeMs to an arbitrary JSON value.
You should usually call Builder.processingTimeMs with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
version
final InteractionAnalyzeResponse.Analysis.Builder version(String version)
The version of the analysis performed.
-
version
final InteractionAnalyzeResponse.Analysis.Builder version(JsonField<String> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final InteractionAnalyzeResponse.Analysis.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InteractionAnalyzeResponse.Analysis.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InteractionAnalyzeResponse.Analysis.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InteractionAnalyzeResponse.Analysis.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InteractionAnalyzeResponse.Analysis.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InteractionAnalyzeResponse.Analysis build()
Returns an immutable instance of Analysis.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .configuration() .detected() .findings() .name() .phase() .processingTimeMs() .version()
-
-
-
-