Class DeliveryStreamDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about a delivery stream.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date and time that the delivery stream was created.The Amazon Resource Name (ARN) of the delivery stream.The name of the delivery stream.The status of the delivery stream.The destinations.Indicates whether there are more destinations available to list.The date and time that the delivery stream was last updated.Used when calling the UpdateDestination operation.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withCreateTimestamp
(Date createTimestamp) The date and time that the delivery stream was created.withDeliveryStreamARN
(String deliveryStreamARN) The Amazon Resource Name (ARN) of the delivery stream.withDeliveryStreamName
(String deliveryStreamName) The name of the delivery stream.withDeliveryStreamStatus
(DeliveryStreamStatus deliveryStreamStatus) The status of the delivery stream.withDeliveryStreamStatus
(String deliveryStreamStatus) The status of the delivery stream.withDestinations
(DestinationDescription... destinations) The destinations.withDestinations
(Collection<DestinationDescription> destinations) The destinations.withHasMoreDestinations
(Boolean hasMoreDestinations) Indicates whether there are more destinations available to list.withLastUpdateTimestamp
(Date lastUpdateTimestamp) The date and time that the delivery stream was last updated.withVersionId
(String versionId) Used when calling the UpdateDestination operation.
-
Constructor Details
-
DeliveryStreamDescription
public DeliveryStreamDescription()
-
-
Method Details
-
setDeliveryStreamName
The name of the delivery stream.
- Parameters:
deliveryStreamName
- The name of the delivery stream.
-
getDeliveryStreamName
The name of the delivery stream.
- Returns:
- The name of the delivery stream.
-
withDeliveryStreamName
The name of the delivery stream.
- Parameters:
deliveryStreamName
- The name of the delivery stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeliveryStreamARN
The Amazon Resource Name (ARN) of the delivery stream.
- Parameters:
deliveryStreamARN
- The Amazon Resource Name (ARN) of the delivery stream.
-
getDeliveryStreamARN
The Amazon Resource Name (ARN) of the delivery stream.
- Returns:
- The Amazon Resource Name (ARN) of the delivery stream.
-
withDeliveryStreamARN
The Amazon Resource Name (ARN) of the delivery stream.
- Parameters:
deliveryStreamARN
- The Amazon Resource Name (ARN) of the delivery stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeliveryStreamStatus
The status of the delivery stream.
- Parameters:
deliveryStreamStatus
- The status of the delivery stream.- See Also:
-
getDeliveryStreamStatus
The status of the delivery stream.
- Returns:
- The status of the delivery stream.
- See Also:
-
withDeliveryStreamStatus
The status of the delivery stream.
- Parameters:
deliveryStreamStatus
- The status of the delivery stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setDeliveryStreamStatus
The status of the delivery stream.
- Parameters:
deliveryStreamStatus
- The status of the delivery stream.- See Also:
-
withDeliveryStreamStatus
public DeliveryStreamDescription withDeliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus) The status of the delivery stream.
- Parameters:
deliveryStreamStatus
- The status of the delivery stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setVersionId
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withVersionId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreateTimestamp
The date and time that the delivery stream was created.
- Parameters:
createTimestamp
- The date and time that the delivery stream was created.
-
getCreateTimestamp
The date and time that the delivery stream was created.
- Returns:
- The date and time that the delivery stream was created.
-
withCreateTimestamp
The date and time that the delivery stream was created.
- Parameters:
createTimestamp
- The date and time that the delivery stream was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastUpdateTimestamp
The date and time that the delivery stream was last updated.
- Parameters:
lastUpdateTimestamp
- The date and time that the delivery stream was last updated.
-
getLastUpdateTimestamp
The date and time that the delivery stream was last updated.
- Returns:
- The date and time that the delivery stream was last updated.
-
withLastUpdateTimestamp
The date and time that the delivery stream was last updated.
- Parameters:
lastUpdateTimestamp
- The date and time that the delivery stream was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDestinations
The destinations.
- Returns:
- The destinations.
-
setDestinations
The destinations.
- Parameters:
destinations
- The destinations.
-
withDestinations
The destinations.
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection)
orwithDestinations(java.util.Collection)
if you want to override the existing values.- Parameters:
destinations
- The destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDestinations
The destinations.
- Parameters:
destinations
- The destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHasMoreDestinations
Indicates whether there are more destinations available to list.
- Parameters:
hasMoreDestinations
- Indicates whether there are more destinations available to list.
-
getHasMoreDestinations
Indicates whether there are more destinations available to list.
- Returns:
- Indicates whether there are more destinations available to list.
-
withHasMoreDestinations
Indicates whether there are more destinations available to list.
- Parameters:
hasMoreDestinations
- Indicates whether there are more destinations available to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isHasMoreDestinations
Indicates whether there are more destinations available to list.
- Returns:
- Indicates whether there are more destinations available to list.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-