Class PromptAnalyzerCreateResponse.Results
-
- All Implemented Interfaces:
public final class PromptAnalyzerCreateResponse.ResultsThe analysis results
-
-
Nested Class Summary
-
Method Summary
-
-
Method Detail
-
guardrailResults
final Optional<PromptAnalyzerCreateResponse.Results.GuardrailResults> guardrailResults()
The guardrail results
-
inputBlockListResults
final Optional<PromptAnalyzerCreateResponse.Results.InputBlockListResults> inputBlockListResults()
The input block list results
-
inputCodeResults
final Optional<PromptAnalyzerCreateResponse.Results.InputCodeResults> inputCodeResults()
The input code results
-
inputDosResults
final Optional<PromptAnalyzerCreateResponse.Results.InputDosResults> inputDosResults()
The input denial of service results
-
inputLanguageResults
final Optional<PromptAnalyzerCreateResponse.Results.InputLanguageResults> inputLanguageResults()
The input language results
-
inputPiiResults
final Optional<PromptAnalyzerCreateResponse.Results.InputPiiResults> inputPiiResults()
The input personally identifiable information results
-
inputUrlResults
final Optional<PromptAnalyzerCreateResponse.Results.InputUrlResults> inputUrlResults()
The input URL results
-
outputCodeResults
final Optional<PromptAnalyzerCreateResponse.Results.OutputCodeResults> outputCodeResults()
The output code results
-
outputPiiResults
final Optional<PromptAnalyzerCreateResponse.Results.OutputPiiResults> outputPiiResults()
The output personally identifiable information results
-
outputUrlResults
final Optional<PromptAnalyzerCreateResponse.Results.OutputUrlResults> outputUrlResults()
The output URL results
-
promptInjectionClassifierResults
final Optional<List<PromptAnalyzerCreateResponse.Results.PromptInjectionClassifierResult>> promptInjectionClassifierResults()
-
_guardrailResults
final JsonField<PromptAnalyzerCreateResponse.Results.GuardrailResults> _guardrailResults()
Returns the raw JSON value of guardrailResults.
Unlike guardrailResults, this method doesn't throw if the JSON field has an unexpected type.
-
_inputBlockListResults
final JsonField<PromptAnalyzerCreateResponse.Results.InputBlockListResults> _inputBlockListResults()
Returns the raw JSON value of inputBlockListResults.
Unlike inputBlockListResults, this method doesn't throw if the JSON field has an unexpected type.
-
_inputCodeResults
final JsonField<PromptAnalyzerCreateResponse.Results.InputCodeResults> _inputCodeResults()
Returns the raw JSON value of inputCodeResults.
Unlike inputCodeResults, this method doesn't throw if the JSON field has an unexpected type.
-
_inputDosResults
final JsonField<PromptAnalyzerCreateResponse.Results.InputDosResults> _inputDosResults()
Returns the raw JSON value of inputDosResults.
Unlike inputDosResults, this method doesn't throw if the JSON field has an unexpected type.
-
_inputLanguageResults
final JsonField<PromptAnalyzerCreateResponse.Results.InputLanguageResults> _inputLanguageResults()
Returns the raw JSON value of inputLanguageResults.
Unlike inputLanguageResults, this method doesn't throw if the JSON field has an unexpected type.
-
_inputPiiResults
final JsonField<PromptAnalyzerCreateResponse.Results.InputPiiResults> _inputPiiResults()
Returns the raw JSON value of inputPiiResults.
Unlike inputPiiResults, this method doesn't throw if the JSON field has an unexpected type.
-
_inputUrlResults
final JsonField<PromptAnalyzerCreateResponse.Results.InputUrlResults> _inputUrlResults()
Returns the raw JSON value of inputUrlResults.
Unlike inputUrlResults, this method doesn't throw if the JSON field has an unexpected type.
-
_outputCodeResults
final JsonField<PromptAnalyzerCreateResponse.Results.OutputCodeResults> _outputCodeResults()
Returns the raw JSON value of outputCodeResults.
Unlike outputCodeResults, this method doesn't throw if the JSON field has an unexpected type.
-
_outputPiiResults
final JsonField<PromptAnalyzerCreateResponse.Results.OutputPiiResults> _outputPiiResults()
Returns the raw JSON value of outputPiiResults.
Unlike outputPiiResults, this method doesn't throw if the JSON field has an unexpected type.
-
_outputUrlResults
final JsonField<PromptAnalyzerCreateResponse.Results.OutputUrlResults> _outputUrlResults()
Returns the raw JSON value of outputUrlResults.
Unlike outputUrlResults, this method doesn't throw if the JSON field has an unexpected type.
-
_promptInjectionClassifierResults
final JsonField<List<PromptAnalyzerCreateResponse.Results.PromptInjectionClassifierResult>> _promptInjectionClassifierResults()
Returns the raw JSON value of promptInjectionClassifierResults.
Unlike promptInjectionClassifierResults, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PromptAnalyzerCreateResponse.Results.Builder toBuilder()
-
validate
final PromptAnalyzerCreateResponse.Results validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static PromptAnalyzerCreateResponse.Results.Builder builder()
Returns a mutable builder for constructing an instance of Results.
-
-
-
-