public class DeliveryStreamDescription extends Object implements Serializable, Cloneable
Contains information about a delivery stream.
Constructor and Description |
---|
DeliveryStreamDescription() |
Modifier and Type | Method and Description |
---|---|
DeliveryStreamDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateTimestamp()
The date and time that the delivery stream was created.
|
String |
getDeliveryStreamARN()
The Amazon Resource Name (ARN) of the delivery stream.
|
String |
getDeliveryStreamName()
The name of the delivery stream.
|
String |
getDeliveryStreamStatus()
The status of the delivery stream.
|
List<DestinationDescription> |
getDestinations()
The destinations.
|
Boolean |
getHasMoreDestinations()
Indicates whether there are more destinations available to list.
|
Date |
getLastUpdateTimestamp()
The date and time that the delivery stream was last updated.
|
String |
getVersionId()
Used when calling the UpdateDestination operation.
|
int |
hashCode() |
Boolean |
isHasMoreDestinations()
Indicates whether there are more destinations available to list.
|
void |
setCreateTimestamp(Date createTimestamp)
The date and time that the delivery stream was created.
|
void |
setDeliveryStreamARN(String deliveryStreamARN)
The Amazon Resource Name (ARN) of the delivery stream.
|
void |
setDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
|
void |
setDeliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)
The status of the delivery stream.
|
void |
setDeliveryStreamStatus(String deliveryStreamStatus)
The status of the delivery stream.
|
void |
setDestinations(Collection<DestinationDescription> destinations)
The destinations.
|
void |
setHasMoreDestinations(Boolean hasMoreDestinations)
Indicates whether there are more destinations available to list.
|
void |
setLastUpdateTimestamp(Date lastUpdateTimestamp)
The date and time that the delivery stream was last updated.
|
void |
setVersionId(String versionId)
Used when calling the UpdateDestination operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeliveryStreamDescription |
withCreateTimestamp(Date createTimestamp)
The date and time that the delivery stream was created.
|
DeliveryStreamDescription |
withDeliveryStreamARN(String deliveryStreamARN)
The Amazon Resource Name (ARN) of the delivery stream.
|
DeliveryStreamDescription |
withDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
|
DeliveryStreamDescription |
withDeliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)
The status of the delivery stream.
|
DeliveryStreamDescription |
withDeliveryStreamStatus(String deliveryStreamStatus)
The status of the delivery stream.
|
DeliveryStreamDescription |
withDestinations(Collection<DestinationDescription> destinations)
The destinations.
|
DeliveryStreamDescription |
withDestinations(DestinationDescription... destinations)
The destinations.
|
DeliveryStreamDescription |
withHasMoreDestinations(Boolean hasMoreDestinations)
Indicates whether there are more destinations available to list.
|
DeliveryStreamDescription |
withLastUpdateTimestamp(Date lastUpdateTimestamp)
The date and time that the delivery stream was last updated.
|
DeliveryStreamDescription |
withVersionId(String versionId)
Used when calling the UpdateDestination operation.
|
public void setDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public String getDeliveryStreamName()
The name of the delivery stream.
public DeliveryStreamDescription withDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public void setDeliveryStreamARN(String deliveryStreamARN)
The Amazon Resource Name (ARN) of the delivery stream.
deliveryStreamARN
- The Amazon Resource Name (ARN) of the delivery stream.public String getDeliveryStreamARN()
The Amazon Resource Name (ARN) of the delivery stream.
public DeliveryStreamDescription withDeliveryStreamARN(String deliveryStreamARN)
The Amazon Resource Name (ARN) of the delivery stream.
deliveryStreamARN
- The Amazon Resource Name (ARN) of the delivery stream.public void setDeliveryStreamStatus(String deliveryStreamStatus)
The status of the delivery stream.
deliveryStreamStatus
- The status of the delivery stream.DeliveryStreamStatus
public String getDeliveryStreamStatus()
The status of the delivery stream.
DeliveryStreamStatus
public DeliveryStreamDescription withDeliveryStreamStatus(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(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 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(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(Date createTimestamp)
The date and time that the delivery stream was created.
createTimestamp
- The date and time that the delivery stream was created.public Date getCreateTimestamp()
The date and time that the delivery stream was created.
public DeliveryStreamDescription withCreateTimestamp(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(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 Date getLastUpdateTimestamp()
The date and time that the delivery stream was last updated.
public DeliveryStreamDescription withLastUpdateTimestamp(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 List<DestinationDescription> getDestinations()
The destinations.
public void setDestinations(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(Collection<DestinationDescription> destinations)
The destinations.
destinations
- The destinations.public void setHasMoreDestinations(Boolean hasMoreDestinations)
Indicates whether there are more destinations available to list.
hasMoreDestinations
- Indicates whether there are more destinations available to list.public Boolean getHasMoreDestinations()
Indicates whether there are more destinations available to list.
public DeliveryStreamDescription withHasMoreDestinations(Boolean hasMoreDestinations)
Indicates whether there are more destinations available to list.
hasMoreDestinations
- Indicates whether there are more destinations available to list.public Boolean isHasMoreDestinations()
Indicates whether there are more destinations available to list.
public String toString()
toString
in class Object
Object.toString()
public DeliveryStreamDescription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.