Class EventStreamDestinationDetails
- java.lang.Object
-
- software.amazon.awssdk.services.customerprofiles.model.EventStreamDestinationDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventStreamDestinationDetails.Builder,EventStreamDestinationDetails>
@Generated("software.amazon.awssdk:codegen") public final class EventStreamDestinationDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventStreamDestinationDetails.Builder,EventStreamDestinationDetails>
Details of the destination being used for the EventStream.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventStreamDestinationDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventStreamDestinationDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()The human-readable string that corresponds to the error or success while enabling the streaming destination.List<SdkField<?>>sdkFields()static Class<? extends EventStreamDestinationDetails.Builder>serializableBuilderClass()EventStreamDestinationStatusstatus()The status of enabling the Kinesis stream as a destination for export.StringstatusAsString()The status of enabling the Kinesis stream as a destination for export.EventStreamDestinationDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantunhealthySince()The timestamp when the status last changed toUNHEALHY.Stringuri()The StreamARN of the destination to deliver profile events to.-
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
-
uri
public final String uri()
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
- Returns:
- The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
-
status
public final EventStreamDestinationStatus status()
The status of enabling the Kinesis stream as a destination for export.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEventStreamDestinationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of enabling the Kinesis stream as a destination for export.
- See Also:
EventStreamDestinationStatus
-
statusAsString
public final String statusAsString()
The status of enabling the Kinesis stream as a destination for export.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEventStreamDestinationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of enabling the Kinesis stream as a destination for export.
- See Also:
EventStreamDestinationStatus
-
unhealthySince
public final Instant unhealthySince()
The timestamp when the status last changed to
UNHEALHY.- Returns:
- The timestamp when the status last changed to
UNHEALHY.
-
message
public final String message()
The human-readable string that corresponds to the error or success while enabling the streaming destination.
- Returns:
- The human-readable string that corresponds to the error or success while enabling the streaming destination.
-
toBuilder
public EventStreamDestinationDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventStreamDestinationDetails.Builder,EventStreamDestinationDetails>
-
builder
public static EventStreamDestinationDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventStreamDestinationDetails.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.
-
-