@Generated(value="software.amazon.awssdk:codegen") public final class GetEventPredictionResponse extends FraudDetectorResponse implements ToCopyableBuilder<GetEventPredictionResponse.Builder,GetEventPredictionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetEventPredictionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetEventPredictionResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasModelScores()
Returns true if the ModelScores property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasRuleResults()
Returns true if the RuleResults property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<ModelScores> |
modelScores()
The model scores.
|
List<RuleResult> |
ruleResults()
The results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetEventPredictionResponse.Builder> |
serializableBuilderClass() |
GetEventPredictionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasModelScores()
public final List<ModelScores> modelScores()
The model scores. Amazon Fraud Detector generates model scores between 0 and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores are directly related to the false positive rate (FPR). For example, a score of 600 corresponds to an estimated 10% false positive rate whereas a score of 900 corresponds to an estimated 2% false positive rate.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasModelScores() to see if a value was sent in this field.
public final boolean hasRuleResults()
public final List<RuleResult> ruleResults()
The results.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRuleResults() to see if a value was sent in this field.
public GetEventPredictionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetEventPredictionResponse.Builder,GetEventPredictionResponse>toBuilder in class AwsResponsepublic static GetEventPredictionResponse.Builder builder()
public static Class<? extends GetEventPredictionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.