@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventStreamDestinationDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details of the destination being used for the EventStream.
Constructor and Description |
---|
EventStreamDestinationDetails() |
Modifier and Type | Method and Description |
---|---|
EventStreamDestinationDetails |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The human-readable string that corresponds to the error or success while enabling the streaming destination.
|
String |
getStatus()
The status of enabling the Kinesis stream as a destination for export.
|
Date |
getUnhealthySince()
The timestamp when the status last changed to
UNHEALHY . |
String |
getUri()
The StreamARN of the destination to deliver profile events to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
The human-readable string that corresponds to the error or success while enabling the streaming destination.
|
void |
setStatus(String status)
The status of enabling the Kinesis stream as a destination for export.
|
void |
setUnhealthySince(Date unhealthySince)
The timestamp when the status last changed to
UNHEALHY . |
void |
setUri(String uri)
The StreamARN of the destination to deliver profile events to.
|
String |
toString()
Returns a string representation of this object.
|
EventStreamDestinationDetails |
withMessage(String message)
The human-readable string that corresponds to the error or success while enabling the streaming destination.
|
EventStreamDestinationDetails |
withStatus(EventStreamDestinationStatus status)
The status of enabling the Kinesis stream as a destination for export.
|
EventStreamDestinationDetails |
withStatus(String status)
The status of enabling the Kinesis stream as a destination for export.
|
EventStreamDestinationDetails |
withUnhealthySince(Date unhealthySince)
The timestamp when the status last changed to
UNHEALHY . |
EventStreamDestinationDetails |
withUri(String uri)
The StreamARN of the destination to deliver profile events to.
|
public void setUri(String uri)
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
uri
- The StreamARN of the destination to deliver profile events to. For example,
arn:aws:kinesis:region:account-id:stream/stream-name.public String getUri()
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
public EventStreamDestinationDetails withUri(String uri)
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
uri
- The StreamARN of the destination to deliver profile events to. For example,
arn:aws:kinesis:region:account-id:stream/stream-name.public void setStatus(String status)
The status of enabling the Kinesis stream as a destination for export.
status
- The status of enabling the Kinesis stream as a destination for export.EventStreamDestinationStatus
public String getStatus()
The status of enabling the Kinesis stream as a destination for export.
EventStreamDestinationStatus
public EventStreamDestinationDetails withStatus(String status)
The status of enabling the Kinesis stream as a destination for export.
status
- The status of enabling the Kinesis stream as a destination for export.EventStreamDestinationStatus
public EventStreamDestinationDetails withStatus(EventStreamDestinationStatus status)
The status of enabling the Kinesis stream as a destination for export.
status
- The status of enabling the Kinesis stream as a destination for export.EventStreamDestinationStatus
public void setUnhealthySince(Date unhealthySince)
The timestamp when the status last changed to UNHEALHY
.
unhealthySince
- The timestamp when the status last changed to UNHEALHY
.public Date getUnhealthySince()
The timestamp when the status last changed to UNHEALHY
.
UNHEALHY
.public EventStreamDestinationDetails withUnhealthySince(Date unhealthySince)
The timestamp when the status last changed to UNHEALHY
.
unhealthySince
- The timestamp when the status last changed to UNHEALHY
.public void setMessage(String message)
The human-readable string that corresponds to the error or success while enabling the streaming destination.
message
- The human-readable string that corresponds to the error or success while enabling the streaming
destination.public String getMessage()
The human-readable string that corresponds to the error or success while enabling the streaming destination.
public EventStreamDestinationDetails withMessage(String message)
The human-readable string that corresponds to the error or success while enabling the streaming destination.
message
- The human-readable string that corresponds to the error or success while enabling the streaming
destination.public String toString()
toString
in class Object
Object.toString()
public EventStreamDestinationDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.