Class EventTracker
- java.lang.Object
-
- software.amazon.awssdk.services.personalize.model.EventTracker
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventTracker.Builder,EventTracker>
@Generated("software.amazon.awssdk:codegen") public final class EventTracker extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventTracker.Builder,EventTracker>
Provides information about an event tracker.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventTracker.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Web Services account that owns the event tracker.static EventTracker.Builderbuilder()InstantcreationDateTime()The date and time (in Unix format) that the event tracker was created.StringdatasetGroupArn()The Amazon Resource Name (ARN) of the dataset group that receives the event data.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeventTrackerArn()The ARN of the event tracker.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDateTime()The date and time (in Unix time) that the event tracker was last updated.Stringname()The name of the event tracker.List<SdkField<?>>sdkFields()static Class<? extends EventTracker.Builder>serializableBuilderClass()Stringstatus()The status of the event tracker.EventTracker.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtrackingId()The ID of the event tracker.-
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 name of the event tracker.
- Returns:
- The name of the event tracker.
-
eventTrackerArn
public final String eventTrackerArn()
The ARN of the event tracker.
- Returns:
- The ARN of the event tracker.
-
accountId
public final String accountId()
The Amazon Web Services account that owns the event tracker.
- Returns:
- The Amazon Web Services account that owns the event tracker.
-
trackingId
public final String trackingId()
The ID of the event tracker. Include this ID in requests to the PutEvents API.
- Returns:
- The ID of the event tracker. Include this ID in requests to the PutEvents API.
-
datasetGroupArn
public final String datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
- Returns:
- The Amazon Resource Name (ARN) of the dataset group that receives the event data.
-
status
public final String status()
The status of the event tracker.
An event tracker can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
- Returns:
- The status of the event tracker.
An event tracker can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
-
-
-
creationDateTime
public final Instant creationDateTime()
The date and time (in Unix format) that the event tracker was created.
- Returns:
- The date and time (in Unix format) that the event tracker was created.
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
The date and time (in Unix time) that the event tracker was last updated.
- Returns:
- The date and time (in Unix time) that the event tracker was last updated.
-
toBuilder
public EventTracker.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventTracker.Builder,EventTracker>
-
builder
public static EventTracker.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventTracker.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.
-
-