Class GetEventPredictionMetadataRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.frauddetector.model.FraudDetectorRequest
-
- software.amazon.awssdk.services.frauddetector.model.GetEventPredictionMetadataRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetEventPredictionMetadataRequest.Builder,GetEventPredictionMetadataRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetEventPredictionMetadataRequest extends FraudDetectorRequest implements ToCopyableBuilder<GetEventPredictionMetadataRequest.Builder,GetEventPredictionMetadataRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetEventPredictionMetadataRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetEventPredictionMetadataRequest.Builderbuilder()StringdetectorId()The detector ID.StringdetectorVersionId()The detector version ID.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeventId()The event ID.StringeventTypeName()The event type associated with the detector specified for the prediction.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpredictionTimestamp()The timestamp that defines when the prediction was generated.List<SdkField<?>>sdkFields()static Class<? extends GetEventPredictionMetadataRequest.Builder>serializableBuilderClass()GetEventPredictionMetadataRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
eventId
public final String eventId()
The event ID.
- Returns:
- The event ID.
-
eventTypeName
public final String eventTypeName()
The event type associated with the detector specified for the prediction.
- Returns:
- The event type associated with the detector specified for the prediction.
-
detectorId
public final String detectorId()
The detector ID.
- Returns:
- The detector ID.
-
detectorVersionId
public final String detectorVersionId()
The detector version ID.
- Returns:
- The detector version ID.
-
predictionTimestamp
public final String predictionTimestamp()
The timestamp that defines when the prediction was generated. The timestamp must be specified using ISO 8601 standard in UTC.
We recommend calling ListEventPredictions first, and using the
predictionTimestampvalue in the response to provide an accurate prediction timestamp value.- Returns:
- The timestamp that defines when the prediction was generated. The timestamp must be specified using ISO
8601 standard in UTC.
We recommend calling ListEventPredictions first, and using the
predictionTimestampvalue in the response to provide an accurate prediction timestamp value.
-
toBuilder
public GetEventPredictionMetadataRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetEventPredictionMetadataRequest.Builder,GetEventPredictionMetadataRequest>- Specified by:
toBuilderin classFraudDetectorRequest
-
builder
public static GetEventPredictionMetadataRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetEventPredictionMetadataRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-