@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DestinationSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about the Kinesis data stream
| Constructor and Description |
|---|
DestinationSummary() |
| Modifier and Type | Method and Description |
|---|---|
DestinationSummary |
clone() |
boolean |
equals(Object obj) |
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 |
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.
|
DestinationSummary |
withStatus(EventStreamDestinationStatus status)
The status of enabling the Kinesis stream as a destination for export.
|
DestinationSummary |
withStatus(String status)
The status of enabling the Kinesis stream as a destination for export.
|
DestinationSummary |
withUnhealthySince(Date unhealthySince)
The timestamp when the status last changed to
UNHEALHY. |
DestinationSummary |
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 DestinationSummary 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.EventStreamDestinationStatuspublic String getStatus()
The status of enabling the Kinesis stream as a destination for export.
EventStreamDestinationStatuspublic DestinationSummary 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.EventStreamDestinationStatuspublic DestinationSummary 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.EventStreamDestinationStatuspublic 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 DestinationSummary withUnhealthySince(Date unhealthySince)
The timestamp when the status last changed to UNHEALHY.
unhealthySince - The timestamp when the status last changed to UNHEALHY.public String toString()
toString in class ObjectObject.toString()public DestinationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.