@Generated(value="software.amazon.awssdk:codegen") public final class DeliveryStreamDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeliveryStreamDescription.Builder,DeliveryStreamDescription>
Contains information about a delivery stream.
Modifier and Type | Class and Description |
---|---|
static interface |
DeliveryStreamDescription.Builder |
Modifier and Type | Method and Description |
---|---|
static DeliveryStreamDescription.Builder |
builder() |
Instant |
createTimestamp()
The date and time that the delivery stream was created.
|
String |
deliveryStreamARN()
The Amazon Resource Name (ARN) of the delivery stream.
|
DeliveryStreamEncryptionConfiguration |
deliveryStreamEncryptionConfiguration()
Indicates the server-side encryption (SSE) status for the delivery stream.
|
String |
deliveryStreamName()
The name of the delivery stream.
|
DeliveryStreamStatus |
deliveryStreamStatus()
The status of the delivery stream.
|
String |
deliveryStreamStatusAsString()
The status of the delivery stream.
|
DeliveryStreamType |
deliveryStreamType()
The delivery stream type.
|
String |
deliveryStreamTypeAsString()
The delivery stream type.
|
List<DestinationDescription> |
destinations()
The destinations.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
hasMoreDestinations()
Indicates whether there are more destinations available to list.
|
Instant |
lastUpdateTimestamp()
The date and time that the delivery stream was last updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeliveryStreamDescription.Builder> |
serializableBuilderClass() |
SourceDescription |
source()
If the
DeliveryStreamType parameter is KinesisStreamAsSource , a
SourceDescription object describing the source Kinesis data stream. |
DeliveryStreamDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
copy
public String deliveryStreamName()
The name of the delivery stream.
public String deliveryStreamARN()
The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
public DeliveryStreamStatus deliveryStreamStatus()
The status of the delivery stream.
If the service returns an enum value that is not available in the current SDK version,
deliveryStreamStatus
will return DeliveryStreamStatus.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from deliveryStreamStatusAsString()
.
DeliveryStreamStatus
public String deliveryStreamStatusAsString()
The status of the delivery stream.
If the service returns an enum value that is not available in the current SDK version,
deliveryStreamStatus
will return DeliveryStreamStatus.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from deliveryStreamStatusAsString()
.
DeliveryStreamStatus
public DeliveryStreamEncryptionConfiguration deliveryStreamEncryptionConfiguration()
Indicates the server-side encryption (SSE) status for the delivery stream.
public 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.
If the service returns an enum value that is not available in the current SDK version,
deliveryStreamType
will return DeliveryStreamType.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from deliveryStreamTypeAsString()
.
DirectPut
: Provider applications access the delivery stream directly.
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
DeliveryStreamType
public String deliveryStreamTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
deliveryStreamType
will return DeliveryStreamType.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from deliveryStreamTypeAsString()
.
DirectPut
: Provider applications access the delivery stream directly.
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
DeliveryStreamType
public 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.
public Instant createTimestamp()
The date and time that the delivery stream was created.
public Instant lastUpdateTimestamp()
The date and time that the delivery stream was last updated.
public SourceDescription source()
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 List<DestinationDescription> destinations()
The destinations.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean hasMoreDestinations()
Indicates whether there are more destinations available to list.
public DeliveryStreamDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeliveryStreamDescription.Builder,DeliveryStreamDescription>
public static DeliveryStreamDescription.Builder builder()
public static Class<? extends DeliveryStreamDescription.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.