Class PromptAnalyzerCreateResponse.Results.InputPiiResults
-
- All Implemented Interfaces:
public final class PromptAnalyzerCreateResponse.Results.InputPiiResultsThe input personally identifiable information results
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptAnalyzerCreateResponse.Results.InputPiiResults.BuilderA builder for InputPiiResults.
-
Method Summary
Modifier and Type Method Description final Optional<Double>elapsedMs()The time in milliseconds it took to process the input personally identifiable information final Optional<List<String>>entities()final Optional<Boolean>verdict()The verdict of the input personally identifiable information analysis final JsonField<Double>_elapsedMs()Returns the raw JSON value of elapsedMs. final JsonField<List<String>>_entities()Returns the raw JSON value of entities. final JsonField<Boolean>_verdict()Returns the raw JSON value of verdict. final Map<String, JsonValue>_additionalProperties()final PromptAnalyzerCreateResponse.Results.InputPiiResults.BuildertoBuilder()final PromptAnalyzerCreateResponse.Results.InputPiiResultsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PromptAnalyzerCreateResponse.Results.InputPiiResults.Builderbuilder()Returns a mutable builder for constructing an instance of InputPiiResults. -
-
Method Detail
-
elapsedMs
final Optional<Double> elapsedMs()
The time in milliseconds it took to process the input personally identifiable information
-
verdict
final Optional<Boolean> verdict()
The verdict of the input personally identifiable information analysis
-
_elapsedMs
final JsonField<Double> _elapsedMs()
Returns the raw JSON value of elapsedMs.
Unlike elapsedMs, this method doesn't throw if the JSON field has an unexpected type.
-
_entities
final JsonField<List<String>> _entities()
Returns the raw JSON value of entities.
Unlike entities, this method doesn't throw if the JSON field has an unexpected type.
-
_verdict
final JsonField<Boolean> _verdict()
Returns the raw JSON value of verdict.
Unlike verdict, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PromptAnalyzerCreateResponse.Results.InputPiiResults.Builder toBuilder()
-
validate
final PromptAnalyzerCreateResponse.Results.InputPiiResults validate()
-
builder
final static PromptAnalyzerCreateResponse.Results.InputPiiResults.Builder builder()
Returns a mutable builder for constructing an instance of InputPiiResults.
-
-
-
-