Class DeliveryStreamDescription
- java.lang.Object
-
- com.amazonaws.services.kinesisfirehose.model.DeliveryStreamDescription
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DeliveryStreamDescription extends Object implements Serializable, Cloneable
Contains information about a delivery stream.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeliveryStreamDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeliveryStreamDescriptionclone()booleanequals(Object obj)DategetCreateTimestamp()The date and time that the delivery stream was created.StringgetDeliveryStreamARN()The Amazon Resource Name (ARN) of the delivery stream.StringgetDeliveryStreamName()The name of the delivery stream.StringgetDeliveryStreamStatus()The status of the delivery stream.List<DestinationDescription>getDestinations()The destinations.BooleangetHasMoreDestinations()Indicates whether there are more destinations available to list.DategetLastUpdateTimestamp()The date and time that the delivery stream was last updated.StringgetVersionId()Used when calling the UpdateDestination operation.inthashCode()BooleanisHasMoreDestinations()Indicates whether there are more destinations available to list.voidsetCreateTimestamp(Date createTimestamp)The date and time that the delivery stream was created.voidsetDeliveryStreamARN(String deliveryStreamARN)The Amazon Resource Name (ARN) of the delivery stream.voidsetDeliveryStreamName(String deliveryStreamName)The name of the delivery stream.voidsetDeliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)The status of the delivery stream.voidsetDeliveryStreamStatus(String deliveryStreamStatus)The status of the delivery stream.voidsetDestinations(Collection<DestinationDescription> destinations)The destinations.voidsetHasMoreDestinations(Boolean hasMoreDestinations)Indicates whether there are more destinations available to list.voidsetLastUpdateTimestamp(Date lastUpdateTimestamp)The date and time that the delivery stream was last updated.voidsetVersionId(String versionId)Used when calling the UpdateDestination operation.StringtoString()Returns a string representation of this object; useful for testing and debugging.DeliveryStreamDescriptionwithCreateTimestamp(Date createTimestamp)The date and time that the delivery stream was created.DeliveryStreamDescriptionwithDeliveryStreamARN(String deliveryStreamARN)The Amazon Resource Name (ARN) of the delivery stream.DeliveryStreamDescriptionwithDeliveryStreamName(String deliveryStreamName)The name of the delivery stream.DeliveryStreamDescriptionwithDeliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)The status of the delivery stream.DeliveryStreamDescriptionwithDeliveryStreamStatus(String deliveryStreamStatus)The status of the delivery stream.DeliveryStreamDescriptionwithDestinations(DestinationDescription... destinations)The destinations.DeliveryStreamDescriptionwithDestinations(Collection<DestinationDescription> destinations)The destinations.DeliveryStreamDescriptionwithHasMoreDestinations(Boolean hasMoreDestinations)Indicates whether there are more destinations available to list.DeliveryStreamDescriptionwithLastUpdateTimestamp(Date lastUpdateTimestamp)The date and time that the delivery stream was last updated.DeliveryStreamDescriptionwithVersionId(String versionId)Used when calling the UpdateDestination operation.
-
-
-
Method Detail
-
setDeliveryStreamName
public void setDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
- Parameters:
deliveryStreamName- The name of the delivery stream.
-
getDeliveryStreamName
public String getDeliveryStreamName()
The name of the delivery stream.
- Returns:
- The name of the delivery stream.
-
withDeliveryStreamName
public DeliveryStreamDescription withDeliveryStreamName(String deliveryStreamName)
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
public void setDeliveryStreamARN(String deliveryStreamARN)
The Amazon Resource Name (ARN) of the delivery stream.
- Parameters:
deliveryStreamARN- The Amazon Resource Name (ARN) of the delivery stream.
-
getDeliveryStreamARN
public String getDeliveryStreamARN()
The Amazon Resource Name (ARN) of the delivery stream.
- Returns:
- The Amazon Resource Name (ARN) of the delivery stream.
-
withDeliveryStreamARN
public DeliveryStreamDescription withDeliveryStreamARN(String deliveryStreamARN)
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
public void setDeliveryStreamStatus(String deliveryStreamStatus)
The status of the delivery stream.
- Parameters:
deliveryStreamStatus- The status of the delivery stream.- See Also:
DeliveryStreamStatus
-
getDeliveryStreamStatus
public String getDeliveryStreamStatus()
The status of the delivery stream.
- Returns:
- The status of the delivery stream.
- See Also:
DeliveryStreamStatus
-
withDeliveryStreamStatus
public DeliveryStreamDescription withDeliveryStreamStatus(String 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:
DeliveryStreamStatus
-
setDeliveryStreamStatus
public void setDeliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)
The status of the delivery stream.
- Parameters:
deliveryStreamStatus- The status of the delivery stream.- See Also:
DeliveryStreamStatus
-
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:
DeliveryStreamStatus
-
setVersionId
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.
- 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
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.
- 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
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.
- 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
public void setCreateTimestamp(Date createTimestamp)
The date and time that the delivery stream was created.
- Parameters:
createTimestamp- The date and time that the delivery stream was created.
-
getCreateTimestamp
public Date getCreateTimestamp()
The date and time that the delivery stream was created.
- Returns:
- The date and time that the delivery stream was created.
-
withCreateTimestamp
public DeliveryStreamDescription withCreateTimestamp(Date createTimestamp)
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
public void setLastUpdateTimestamp(Date lastUpdateTimestamp)
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
public Date 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
public DeliveryStreamDescription withLastUpdateTimestamp(Date lastUpdateTimestamp)
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
public List<DestinationDescription> getDestinations()
The destinations.
- Returns:
- The destinations.
-
setDestinations
public void setDestinations(Collection<DestinationDescription> destinations)
The destinations.
- Parameters:
destinations- The destinations.
-
withDestinations
public DeliveryStreamDescription withDestinations(DestinationDescription... destinations)
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
public DeliveryStreamDescription withDestinations(Collection<DestinationDescription> destinations)
The destinations.
- Parameters:
destinations- The destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHasMoreDestinations
public void setHasMoreDestinations(Boolean hasMoreDestinations)
Indicates whether there are more destinations available to list.
- Parameters:
hasMoreDestinations- Indicates whether there are more destinations available to list.
-
getHasMoreDestinations
public Boolean getHasMoreDestinations()
Indicates whether there are more destinations available to list.
- Returns:
- Indicates whether there are more destinations available to list.
-
withHasMoreDestinations
public DeliveryStreamDescription withHasMoreDestinations(Boolean hasMoreDestinations)
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
public Boolean isHasMoreDestinations()
Indicates whether there are more destinations available to list.
- Returns:
- Indicates whether there are more destinations available to list.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeliveryStreamDescription clone()
-
-