@Generated(value="software.amazon.awssdk:codegen") public final class GetEventPredictionMetadataResponse extends FraudDetectorResponse implements ToCopyableBuilder<GetEventPredictionMetadataResponse.Builder,GetEventPredictionMetadataResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetEventPredictionMetadataResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetEventPredictionMetadataResponse.Builder |
builder() |
String |
detectorId()
The detector ID.
|
String |
detectorVersionId()
The detector version ID.
|
String |
detectorVersionStatus()
The status of the detector version.
|
String |
entityId()
The entity ID.
|
String |
entityType()
The entity type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<EvaluatedExternalModel> |
evaluatedExternalModels()
External (Amazon SageMaker) models that were evaluated for generating predictions.
|
List<EvaluatedModelVersion> |
evaluatedModelVersions()
Model versions that were evaluated for generating predictions.
|
String |
eventId()
The event ID.
|
String |
eventTimestamp()
The timestamp for when the prediction was generated for the associated event ID.
|
String |
eventTypeName()
The event type associated with the detector specified for this prediction.
|
List<EventVariableSummary> |
eventVariables()
A list of event variables that influenced the prediction scores.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEvaluatedExternalModels()
For responses, this returns true if the service returned a value for the EvaluatedExternalModels property.
|
boolean |
hasEvaluatedModelVersions()
For responses, this returns true if the service returned a value for the EvaluatedModelVersions property.
|
boolean |
hasEventVariables()
For responses, this returns true if the service returned a value for the EventVariables property.
|
int |
hashCode() |
boolean |
hasOutcomes()
For responses, this returns true if the service returned a value for the Outcomes property.
|
boolean |
hasRules()
For responses, this returns true if the service returned a value for the Rules property.
|
List<String> |
outcomes()
The outcomes of the matched rule, based on the rule execution mode.
|
String |
predictionTimestamp()
The timestamp that defines when the prediction was generated.
|
RuleExecutionMode |
ruleExecutionMode()
The execution mode of the rule used for evaluating variable values.
|
String |
ruleExecutionModeAsString()
The execution mode of the rule used for evaluating variable values.
|
List<EvaluatedRule> |
rules()
List of rules associated with the detector version that were used for evaluating variable values.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetEventPredictionMetadataResponse.Builder> |
serializableBuilderClass() |
GetEventPredictionMetadataResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String eventId()
The event ID.
public final String eventTypeName()
The event type associated with the detector specified for this prediction.
public final String entityId()
The entity ID.
public final String entityType()
The entity type.
public final String eventTimestamp()
The timestamp for when the prediction was generated for the associated event ID.
public final String detectorId()
The detector ID.
public final String detectorVersionId()
The detector version ID.
public final String detectorVersionStatus()
The status of the detector version.
public final boolean hasEventVariables()
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.public final List<EventVariableSummary> eventVariables()
A list of event variables that influenced the prediction scores.
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 hasEventVariables() method.
public final boolean hasRules()
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.public final List<EvaluatedRule> rules()
List of rules associated with the detector version that were used for evaluating variable values.
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 hasRules() method.
public final RuleExecutionMode ruleExecutionMode()
The execution mode of the rule used for evaluating variable values.
If the service returns an enum value that is not available in the current SDK version, ruleExecutionMode
will return RuleExecutionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from ruleExecutionModeAsString().
RuleExecutionModepublic final String ruleExecutionModeAsString()
The execution mode of the rule used for evaluating variable values.
If the service returns an enum value that is not available in the current SDK version, ruleExecutionMode
will return RuleExecutionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from ruleExecutionModeAsString().
RuleExecutionModepublic final boolean hasOutcomes()
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.public final List<String> outcomes()
The outcomes of the matched rule, based on the rule execution mode.
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 hasOutcomes() method.
public final boolean hasEvaluatedModelVersions()
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.public final List<EvaluatedModelVersion> evaluatedModelVersions()
Model versions that were evaluated for generating predictions.
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 hasEvaluatedModelVersions() method.
public final boolean hasEvaluatedExternalModels()
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.public final List<EvaluatedExternalModel> evaluatedExternalModels()
External (Amazon SageMaker) models that were evaluated for generating predictions.
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 hasEvaluatedExternalModels() method.
public final String predictionTimestamp()
The timestamp that defines when the prediction was generated.
public GetEventPredictionMetadataResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetEventPredictionMetadataResponse.Builder,GetEventPredictionMetadataResponse>toBuilder in class AwsResponsepublic static GetEventPredictionMetadataResponse.Builder builder()
public static Class<? extends GetEventPredictionMetadataResponse.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 © 2023. All rights reserved.