public class DeliveryStreamDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about a delivery stream.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
createTimestamp
The date and time that the delivery stream was created.
|
private java.lang.String |
deliveryStreamARN
The Amazon Resource Name (ARN) of the delivery stream.
|
private java.lang.String |
deliveryStreamName
The name of the delivery stream.
|
private java.lang.String |
deliveryStreamStatus
The status of the delivery stream.
|
private java.util.List<DestinationDescription> |
destinations
The destinations.
|
private java.lang.Boolean |
hasMoreDestinations
Indicates whether there are more destinations available to list.
|
private java.util.Date |
lastUpdateTimestamp
The date and time that the delivery stream was last updated.
|
private java.lang.String |
versionId
Used when calling the UpdateDestination operation.
|
Constructor and Description |
---|
DeliveryStreamDescription() |
Modifier and Type | Method and Description |
---|---|
DeliveryStreamDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreateTimestamp()
The date and time that the delivery stream was created.
|
java.lang.String |
getDeliveryStreamARN()
The Amazon Resource Name (ARN) of the delivery stream.
|
java.lang.String |
getDeliveryStreamName()
The name of the delivery stream.
|
java.lang.String |
getDeliveryStreamStatus()
The status of the delivery stream.
|
java.util.List<DestinationDescription> |
getDestinations()
The destinations.
|
java.lang.Boolean |
getHasMoreDestinations()
Indicates whether there are more destinations available to list.
|
java.util.Date |
getLastUpdateTimestamp()
The date and time that the delivery stream was last updated.
|
java.lang.String |
getVersionId()
Used when calling the UpdateDestination operation.
|
int |
hashCode() |
java.lang.Boolean |
isHasMoreDestinations()
Indicates whether there are more destinations available to list.
|
void |
setCreateTimestamp(java.util.Date createTimestamp)
The date and time that the delivery stream was created.
|
void |
setDeliveryStreamARN(java.lang.String deliveryStreamARN)
The Amazon Resource Name (ARN) of the delivery stream.
|
void |
setDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
|
void |
setDeliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)
The status of the delivery stream.
|
void |
setDeliveryStreamStatus(java.lang.String deliveryStreamStatus)
The status of the delivery stream.
|
void |
setDestinations(java.util.Collection<DestinationDescription> destinations)
The destinations.
|
void |
setHasMoreDestinations(java.lang.Boolean hasMoreDestinations)
Indicates whether there are more destinations available to list.
|
void |
setLastUpdateTimestamp(java.util.Date lastUpdateTimestamp)
The date and time that the delivery stream was last updated.
|
void |
setVersionId(java.lang.String versionId)
Used when calling the UpdateDestination operation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeliveryStreamDescription |
withCreateTimestamp(java.util.Date createTimestamp)
The date and time that the delivery stream was created.
|
DeliveryStreamDescription |
withDeliveryStreamARN(java.lang.String deliveryStreamARN)
The Amazon Resource Name (ARN) of the delivery stream.
|
DeliveryStreamDescription |
withDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
|
DeliveryStreamDescription |
withDeliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)
The status of the delivery stream.
|
DeliveryStreamDescription |
withDeliveryStreamStatus(java.lang.String deliveryStreamStatus)
The status of the delivery stream.
|
DeliveryStreamDescription |
withDestinations(java.util.Collection<DestinationDescription> destinations)
The destinations.
|
DeliveryStreamDescription |
withDestinations(DestinationDescription... destinations)
The destinations.
|
DeliveryStreamDescription |
withHasMoreDestinations(java.lang.Boolean hasMoreDestinations)
Indicates whether there are more destinations available to list.
|
DeliveryStreamDescription |
withLastUpdateTimestamp(java.util.Date lastUpdateTimestamp)
The date and time that the delivery stream was last updated.
|
DeliveryStreamDescription |
withVersionId(java.lang.String versionId)
Used when calling the UpdateDestination operation.
|
private java.lang.String deliveryStreamName
The name of the delivery stream.
private java.lang.String deliveryStreamARN
The Amazon Resource Name (ARN) of the delivery stream.
private java.lang.String deliveryStreamStatus
The status of the delivery stream.
private java.lang.String versionId
Used when calling the UpdateDestination operation. Each time the destination is updated for the delivery stream, the VersionId is changed, and the current VersionId is required when updating the destination. This is so that the service knows it is applying the changes to the correct version of the delivery stream.
private java.util.Date createTimestamp
The date and time that the delivery stream was created.
private java.util.Date lastUpdateTimestamp
The date and time that the delivery stream was last updated.
private java.util.List<DestinationDescription> destinations
The destinations.
private java.lang.Boolean hasMoreDestinations
Indicates whether there are more destinations available to list.
public void setDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public java.lang.String getDeliveryStreamName()
The name of the delivery stream.
public DeliveryStreamDescription withDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public void setDeliveryStreamARN(java.lang.String deliveryStreamARN)
The Amazon Resource Name (ARN) of the delivery stream.
deliveryStreamARN
- The Amazon Resource Name (ARN) of the delivery stream.public java.lang.String getDeliveryStreamARN()
The Amazon Resource Name (ARN) of the delivery stream.
public DeliveryStreamDescription withDeliveryStreamARN(java.lang.String deliveryStreamARN)
The Amazon Resource Name (ARN) of the delivery stream.
deliveryStreamARN
- The Amazon Resource Name (ARN) of the delivery stream.public void setDeliveryStreamStatus(java.lang.String deliveryStreamStatus)
The status of the delivery stream.
deliveryStreamStatus
- The status of the delivery stream.DeliveryStreamStatus
public java.lang.String getDeliveryStreamStatus()
The status of the delivery stream.
DeliveryStreamStatus
public DeliveryStreamDescription withDeliveryStreamStatus(java.lang.String deliveryStreamStatus)
The status of the delivery stream.
deliveryStreamStatus
- The status of the delivery stream.DeliveryStreamStatus
public void setDeliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)
The status of the delivery stream.
deliveryStreamStatus
- The status of the delivery stream.DeliveryStreamStatus
public DeliveryStreamDescription withDeliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)
The status of the delivery stream.
deliveryStreamStatus
- The status of the delivery stream.DeliveryStreamStatus
public void setVersionId(java.lang.String versionId)
Used when calling the UpdateDestination operation. Each time the destination is updated for the delivery stream, the VersionId is changed, and the current VersionId is required when updating the destination. This is so that the service knows it is applying the changes to the correct version of the delivery stream.
versionId
- Used when calling the UpdateDestination operation. Each
time the destination is updated for the delivery stream, the
VersionId is changed, and the current VersionId is required when
updating the destination. This is so that the service knows it is
applying the changes to the correct version of the delivery
stream.public java.lang.String getVersionId()
Used when calling the UpdateDestination operation. Each time the destination is updated for the delivery stream, the VersionId is changed, and the current VersionId is required when updating the destination. This is so that the service knows it is applying the changes to the correct version of the delivery stream.
public DeliveryStreamDescription withVersionId(java.lang.String versionId)
Used when calling the UpdateDestination operation. Each time the destination is updated for the delivery stream, the VersionId is changed, and the current VersionId is required when updating the destination. This is so that the service knows it is applying the changes to the correct version of the delivery stream.
versionId
- Used when calling the UpdateDestination operation. Each
time the destination is updated for the delivery stream, the
VersionId is changed, and the current VersionId is required when
updating the destination. This is so that the service knows it is
applying the changes to the correct version of the delivery
stream.public void setCreateTimestamp(java.util.Date createTimestamp)
The date and time that the delivery stream was created.
createTimestamp
- The date and time that the delivery stream was created.public java.util.Date getCreateTimestamp()
The date and time that the delivery stream was created.
public DeliveryStreamDescription withCreateTimestamp(java.util.Date createTimestamp)
The date and time that the delivery stream was created.
createTimestamp
- The date and time that the delivery stream was created.public void setLastUpdateTimestamp(java.util.Date lastUpdateTimestamp)
The date and time that the delivery stream was last updated.
lastUpdateTimestamp
- The date and time that the delivery stream was last updated.public java.util.Date getLastUpdateTimestamp()
The date and time that the delivery stream was last updated.
public DeliveryStreamDescription withLastUpdateTimestamp(java.util.Date lastUpdateTimestamp)
The date and time that the delivery stream was last updated.
lastUpdateTimestamp
- The date and time that the delivery stream was last updated.public java.util.List<DestinationDescription> getDestinations()
The destinations.
public void setDestinations(java.util.Collection<DestinationDescription> destinations)
The destinations.
destinations
- The destinations.public DeliveryStreamDescription withDestinations(DestinationDescription... destinations)
The destinations.
NOTE: This method appends the values to the existing list (if
any). Use setDestinations(java.util.Collection)
or
withDestinations(java.util.Collection)
if you want to override
the existing values.
destinations
- The destinations.public DeliveryStreamDescription withDestinations(java.util.Collection<DestinationDescription> destinations)
The destinations.
destinations
- The destinations.public void setHasMoreDestinations(java.lang.Boolean hasMoreDestinations)
Indicates whether there are more destinations available to list.
hasMoreDestinations
- Indicates whether there are more destinations available to list.public java.lang.Boolean getHasMoreDestinations()
Indicates whether there are more destinations available to list.
public DeliveryStreamDescription withHasMoreDestinations(java.lang.Boolean hasMoreDestinations)
Indicates whether there are more destinations available to list.
hasMoreDestinations
- Indicates whether there are more destinations available to list.public java.lang.Boolean isHasMoreDestinations()
Indicates whether there are more destinations available to list.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeliveryStreamDescription clone()
clone
in class java.lang.Object