@Generated(value="software.amazon.awssdk:codegen") public final class EventTracker extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventTracker.Builder,EventTracker>
Provides information about an event tracker.
Modifier and Type | Class and Description |
---|---|
static interface |
EventTracker.Builder |
Modifier and Type | Method and Description |
---|---|
String |
accountId()
The Amazon AWS account that owns the event tracker.
|
static EventTracker.Builder |
builder() |
Instant |
creationDateTime()
The date and time (in Unix format) that the event tracker was created.
|
String |
datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
String |
eventTrackerArn()
The ARN of the event tracker.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedDateTime()
The date and time (in Unix time) that the event tracker was last updated.
|
String |
name()
The name of the event tracker.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventTracker.Builder> |
serializableBuilderClass() |
String |
status()
The status of the event tracker.
|
EventTracker.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
trackingId()
The ID of the event tracker.
|
copy
public final String name()
The name of the event tracker.
public final String eventTrackerArn()
The ARN of the event tracker.
public final String accountId()
The Amazon AWS account that owns the event tracker.
public final String trackingId()
The ID of the event tracker. Include this ID in requests to the PutEvents API.
public final String datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that receives the event data.
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
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
public final Instant creationDateTime()
The date and time (in Unix format) that the event tracker was created.
public final Instant lastUpdatedDateTime()
The date and time (in Unix time) that the event tracker was last updated.
public EventTracker.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EventTracker.Builder,EventTracker>
public static EventTracker.Builder builder()
public static Class<? extends EventTracker.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.