Class EventType
- java.lang.Object
-
- software.amazon.awssdk.services.frauddetector.model.EventType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventType.Builder,EventType>
@Generated("software.amazon.awssdk:codegen") public final class EventType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventType.Builder,EventType>
The event type details.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The entity type ARN.static EventType.Builderbuilder()StringcreatedTime()Timestamp of when the event type was created.Stringdescription()The event type description.List<String>entityTypes()The event type entity types.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)EventIngestioneventIngestion()IfEnabled, Amazon Fraud Detector stores event data when you generate a prediction and uses that data to update calculated variables in near real-time.StringeventIngestionAsString()IfEnabled, Amazon Fraud Detector stores event data when you generate a prediction and uses that data to update calculated variables in near real-time.EventOrchestrationeventOrchestration()The event orchestration status.List<String>eventVariables()The event type event variables.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasEntityTypes()For responses, this returns true if the service returned a value for the EntityTypes property.booleanhasEventVariables()For responses, this returns true if the service returned a value for the EventVariables property.inthashCode()booleanhasLabels()For responses, this returns true if the service returned a value for the Labels property.IngestedEventStatisticsingestedEventStatistics()Data about the stored events.List<String>labels()The event type labels.StringlastUpdatedTime()Timestamp of when the event type was last updated.Stringname()The event type name.List<SdkField<?>>sdkFields()static Class<? extends EventType.Builder>serializableBuilderClass()EventType.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
name
public final String name()
The event type name.
- Returns:
- The event type name.
-
description
public final String description()
The event type description.
- Returns:
- The event type description.
-
hasEventVariables
public final boolean hasEventVariables()
For responses, this returns true if the service returned a value for the EventVariables property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
eventVariables
public final List<String> eventVariables()
The event type event variables.
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.- Returns:
- The event type event variables.
-
hasLabels
public final boolean hasLabels()
For responses, this returns true if the service returned a value for the Labels property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
labels
public final List<String> labels()
The event type labels.
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
hasLabels()method.- Returns:
- The event type labels.
-
hasEntityTypes
public final boolean hasEntityTypes()
For responses, this returns true if the service returned a value for the EntityTypes property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
entityTypes
public final List<String> entityTypes()
The event type entity types.
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
hasEntityTypes()method.- Returns:
- The event type entity types.
-
eventIngestion
public final EventIngestion eventIngestion()
If
Enabled, Amazon Fraud Detector stores event data when you generate a prediction and uses that data to update calculated variables in near real-time. Amazon Fraud Detector uses this data, known asINGESTED_EVENTS, to train your model and improve fraud predictions.If the service returns an enum value that is not available in the current SDK version,
eventIngestionwill returnEventIngestion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventIngestionAsString().- Returns:
- If
Enabled, Amazon Fraud Detector stores event data when you generate a prediction and uses that data to update calculated variables in near real-time. Amazon Fraud Detector uses this data, known asINGESTED_EVENTS, to train your model and improve fraud predictions. - See Also:
EventIngestion
-
eventIngestionAsString
public final String eventIngestionAsString()
If
Enabled, Amazon Fraud Detector stores event data when you generate a prediction and uses that data to update calculated variables in near real-time. Amazon Fraud Detector uses this data, known asINGESTED_EVENTS, to train your model and improve fraud predictions.If the service returns an enum value that is not available in the current SDK version,
eventIngestionwill returnEventIngestion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventIngestionAsString().- Returns:
- If
Enabled, Amazon Fraud Detector stores event data when you generate a prediction and uses that data to update calculated variables in near real-time. Amazon Fraud Detector uses this data, known asINGESTED_EVENTS, to train your model and improve fraud predictions. - See Also:
EventIngestion
-
ingestedEventStatistics
public final IngestedEventStatistics ingestedEventStatistics()
Data about the stored events.
- Returns:
- Data about the stored events.
-
lastUpdatedTime
public final String lastUpdatedTime()
Timestamp of when the event type was last updated.
- Returns:
- Timestamp of when the event type was last updated.
-
createdTime
public final String createdTime()
Timestamp of when the event type was created.
- Returns:
- Timestamp of when the event type was created.
-
arn
public final String arn()
The entity type ARN.
- Returns:
- The entity type ARN.
-
eventOrchestration
public final EventOrchestration eventOrchestration()
The event orchestration status.
- Returns:
- The event orchestration status.
-
toBuilder
public EventType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventType.Builder,EventType>
-
builder
public static EventType.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventType.Builder> serializableBuilderClass()
-
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.
-
-