@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeliveryStreamDescription extends Object implements Serializable, Cloneable, StructuredPojo
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.
|
DeliveryStreamEncryptionConfiguration |
getDeliveryStreamEncryptionConfiguration()
Indicates the server-side encryption (SSE) status for the delivery stream.
|
String |
getDeliveryStreamName()
The name of the delivery stream.
|
String |
getDeliveryStreamStatus()
The status of the delivery stream.
|
String |
getDeliveryStreamType()
The delivery stream type.
|
List<DestinationDescription> |
getDestinations()
The destinations.
|
FailureDescription |
getFailureDescription()
Provides details in case one of the following operations fails due to an error related to KMS:
CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption,
StopDeliveryStreamEncryption.
|
Boolean |
getHasMoreDestinations()
Indicates whether there are more destinations available to list.
|
Date |
getLastUpdateTimestamp()
The date and time that the delivery stream was last updated.
|
SourceDescription |
getSource()
If the
DeliveryStreamType parameter is KinesisStreamAsSource , a
SourceDescription object describing the source Kinesis data stream. |
String |
getVersionId()
Each time the destination is updated for a delivery stream, the version ID is changed, and the current version ID
is required when updating the destination.
|
int |
hashCode() |
Boolean |
isHasMoreDestinations()
Indicates whether there are more destinations available to list.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
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 |
setDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration deliveryStreamEncryptionConfiguration)
Indicates the server-side encryption (SSE) status for 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 |
setDeliveryStreamType(DeliveryStreamType deliveryStreamType)
The delivery stream type.
|
void |
setDeliveryStreamType(String deliveryStreamType)
The delivery stream type.
|
void |
setDestinations(Collection<DestinationDescription> destinations)
The destinations.
|
void |
setFailureDescription(FailureDescription failureDescription)
Provides details in case one of the following operations fails due to an error related to KMS:
CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption,
StopDeliveryStreamEncryption.
|
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 |
setSource(SourceDescription source)
If the
DeliveryStreamType parameter is KinesisStreamAsSource , a
SourceDescription object describing the source Kinesis data stream. |
void |
setVersionId(String versionId)
Each time the destination is updated for a delivery stream, the version ID is changed, and the current version ID
is required when updating the destination.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration deliveryStreamEncryptionConfiguration)
Indicates the server-side encryption (SSE) status for 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 |
withDeliveryStreamType(DeliveryStreamType deliveryStreamType)
The delivery stream type.
|
DeliveryStreamDescription |
withDeliveryStreamType(String deliveryStreamType)
The delivery stream type.
|
DeliveryStreamDescription |
withDestinations(Collection<DestinationDescription> destinations)
The destinations.
|
DeliveryStreamDescription |
withDestinations(DestinationDescription... destinations)
The destinations.
|
DeliveryStreamDescription |
withFailureDescription(FailureDescription failureDescription)
Provides details in case one of the following operations fails due to an error related to KMS:
CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption,
StopDeliveryStreamEncryption.
|
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 |
withSource(SourceDescription source)
If the
DeliveryStreamType parameter is KinesisStreamAsSource , a
SourceDescription object describing the source Kinesis data stream. |
DeliveryStreamDescription |
withVersionId(String versionId)
Each time the destination is updated for a delivery stream, the version ID is changed, and the current version ID
is required when updating the destination.
|
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. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
deliveryStreamARN
- The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource Names
(ARNs) and Amazon Web Services Service Namespaces.public String getDeliveryStreamARN()
The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
public DeliveryStreamDescription withDeliveryStreamARN(String deliveryStreamARN)
The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
deliveryStreamARN
- The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource Names
(ARNs) and Amazon Web Services Service Namespaces.public void setDeliveryStreamStatus(String deliveryStreamStatus)
The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
, this
status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can
invoke the DeleteDeliveryStream operation to delete it.
deliveryStreamStatus
- The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
,
this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However,
you can invoke the DeleteDeliveryStream operation to delete it.DeliveryStreamStatus
public String getDeliveryStreamStatus()
The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
, this
status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can
invoke the DeleteDeliveryStream operation to delete it.
CREATING_FAILED
,
this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However,
you can invoke the DeleteDeliveryStream operation to delete it.DeliveryStreamStatus
public DeliveryStreamDescription withDeliveryStreamStatus(String deliveryStreamStatus)
The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
, this
status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can
invoke the DeleteDeliveryStream operation to delete it.
deliveryStreamStatus
- The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
,
this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However,
you can invoke the DeleteDeliveryStream operation to delete it.DeliveryStreamStatus
public void setDeliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)
The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
, this
status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can
invoke the DeleteDeliveryStream operation to delete it.
deliveryStreamStatus
- The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
,
this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However,
you can invoke the DeleteDeliveryStream operation to delete it.DeliveryStreamStatus
public DeliveryStreamDescription withDeliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)
The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
, this
status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can
invoke the DeleteDeliveryStream operation to delete it.
deliveryStreamStatus
- The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
,
this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However,
you can invoke the DeleteDeliveryStream operation to delete it.DeliveryStreamStatus
public void setFailureDescription(FailureDescription failureDescription)
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
failureDescription
- Provides details in case one of the following operations fails due to an error related to KMS:
CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption,
StopDeliveryStreamEncryption.public FailureDescription getFailureDescription()
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
public DeliveryStreamDescription withFailureDescription(FailureDescription failureDescription)
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
failureDescription
- Provides details in case one of the following operations fails due to an error related to KMS:
CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption,
StopDeliveryStreamEncryption.public void setDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration deliveryStreamEncryptionConfiguration)
Indicates the server-side encryption (SSE) status for the delivery stream.
deliveryStreamEncryptionConfiguration
- Indicates the server-side encryption (SSE) status for the delivery stream.public DeliveryStreamEncryptionConfiguration getDeliveryStreamEncryptionConfiguration()
Indicates the server-side encryption (SSE) status for the delivery stream.
public DeliveryStreamDescription withDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration deliveryStreamEncryptionConfiguration)
Indicates the server-side encryption (SSE) status for the delivery stream.
deliveryStreamEncryptionConfiguration
- Indicates the server-side encryption (SSE) status for the delivery stream.public void setDeliveryStreamType(String deliveryStreamType)
The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
deliveryStreamType
- The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
DeliveryStreamType
public String getDeliveryStreamType()
The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
DirectPut
: Provider applications access the delivery stream directly.
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
DeliveryStreamType
public DeliveryStreamDescription withDeliveryStreamType(String deliveryStreamType)
The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
deliveryStreamType
- The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
DeliveryStreamType
public void setDeliveryStreamType(DeliveryStreamType deliveryStreamType)
The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
deliveryStreamType
- The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
DeliveryStreamType
public DeliveryStreamDescription withDeliveryStreamType(DeliveryStreamType deliveryStreamType)
The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
deliveryStreamType
- The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
DeliveryStreamType
public void setVersionId(String versionId)
Each time the destination is updated for a delivery stream, the version ID is changed, and the current version ID 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
- Each time the destination is updated for a delivery stream, the version ID is changed, and the current
version ID 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()
Each time the destination is updated for a delivery stream, the version ID is changed, and the current version ID 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)
Each time the destination is updated for a delivery stream, the version ID is changed, and the current version ID 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
- Each time the destination is updated for a delivery stream, the version ID is changed, and the current
version ID 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 void setSource(SourceDescription source)
If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis data stream.
source
- If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis data stream.public SourceDescription getSource()
If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis data stream.
DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis data stream.public DeliveryStreamDescription withSource(SourceDescription source)
If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis data stream.
source
- If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis data stream.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()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.