primaryResult
The primary visual response.
- Returns:
- The primary visual response.
SdkPojo
, ToCopyableBuilder<PredictQaResultsResponse.Builder,PredictQaResultsResponse>
builder()
final boolean
final boolean
equalsBySdkFields(Object obj)
final <T> Optional<T>
getValueForField(String fieldName,
Class<T> clazz)
SdkResponse
.final boolean
final int
hashCode()
final QAResult
final String
static Class<? extends PredictQaResultsResponse.Builder>
final Integer
status()
final String
toString()
responseMetadata
sdkHttpResponse
copy
The primary visual response.
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.Additional visual responses.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAdditionalResults()
method.
The Amazon Web Services request ID for this operation.
The HTTP status of the request.
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PredictQaResultsResponse.Builder,PredictQaResultsResponse>
toBuilder
in class AwsResponse
hashCode
in class AwsResponse
equals
in class AwsResponse
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withSdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.sdkFieldNameToField
in interface SdkPojo