public static interface DeliveryStreamDescription.Builder extends CopyableBuilder<DeliveryStreamDescription.Builder,DeliveryStreamDescription>
Modifier and Type | Method and Description |
---|---|
DeliveryStreamDescription.Builder |
createTimestamp(Instant createTimestamp)
The date and time that the delivery stream was created.
|
DeliveryStreamDescription.Builder |
deliveryStreamARN(String deliveryStreamARN)
The Amazon Resource Name (ARN) of the delivery stream.
|
DeliveryStreamDescription.Builder |
deliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
|
DeliveryStreamDescription.Builder |
deliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)
The status of the delivery stream.
|
DeliveryStreamDescription.Builder |
deliveryStreamStatus(String deliveryStreamStatus)
The status of the delivery stream.
|
DeliveryStreamDescription.Builder |
deliveryStreamType(DeliveryStreamType deliveryStreamType)
The delivery stream type.
|
DeliveryStreamDescription.Builder |
deliveryStreamType(String deliveryStreamType)
The delivery stream type.
|
DeliveryStreamDescription.Builder |
destinations(Collection<DestinationDescription> destinations)
The destinations.
|
DeliveryStreamDescription.Builder |
destinations(DestinationDescription... destinations)
The destinations.
|
DeliveryStreamDescription.Builder |
hasMoreDestinations(Boolean hasMoreDestinations)
Indicates whether there are more destinations available to list.
|
DeliveryStreamDescription.Builder |
lastUpdateTimestamp(Instant lastUpdateTimestamp)
The date and time that the delivery stream was last updated.
|
default DeliveryStreamDescription.Builder |
source(Consumer<SourceDescription.Builder> source)
If the
DeliveryStreamType parameter is KinesisStreamAsSource , a
SourceDescription object describing the source Kinesis stream. |
DeliveryStreamDescription.Builder |
source(SourceDescription source)
If the
DeliveryStreamType parameter is KinesisStreamAsSource , a
SourceDescription object describing the source Kinesis stream. |
DeliveryStreamDescription.Builder |
versionId(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
apply, build
DeliveryStreamDescription.Builder deliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.DeliveryStreamDescription.Builder deliveryStreamARN(String deliveryStreamARN)
The Amazon Resource Name (ARN) of the delivery stream.
deliveryStreamARN
- The Amazon Resource Name (ARN) of the delivery stream.DeliveryStreamDescription.Builder deliveryStreamStatus(String deliveryStreamStatus)
The status of the delivery stream.
deliveryStreamStatus
- The status of the delivery stream.DeliveryStreamStatus
,
DeliveryStreamStatus
DeliveryStreamDescription.Builder deliveryStreamStatus(DeliveryStreamStatus deliveryStreamStatus)
The status of the delivery stream.
deliveryStreamStatus
- The status of the delivery stream.DeliveryStreamStatus
,
DeliveryStreamStatus
DeliveryStreamDescription.Builder deliveryStreamType(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 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 stream as a source.
DeliveryStreamType
,
DeliveryStreamType
DeliveryStreamDescription.Builder deliveryStreamType(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 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 stream as a source.
DeliveryStreamType
,
DeliveryStreamType
DeliveryStreamDescription.Builder versionId(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.DeliveryStreamDescription.Builder createTimestamp(Instant createTimestamp)
The date and time that the delivery stream was created.
createTimestamp
- The date and time that the delivery stream was created.DeliveryStreamDescription.Builder lastUpdateTimestamp(Instant lastUpdateTimestamp)
The date and time that the delivery stream was last updated.
lastUpdateTimestamp
- The date and time that the delivery stream was last updated.DeliveryStreamDescription.Builder source(SourceDescription source)
If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis stream.
source
- If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis stream.default DeliveryStreamDescription.Builder source(Consumer<SourceDescription.Builder> source)
If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis stream.
SourceDescription.Builder
avoiding the need to
create one manually via SourceDescription.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to source(SourceDescription)
.source
- a consumer that will call methods on SourceDescription.Builder
source(SourceDescription)
DeliveryStreamDescription.Builder destinations(Collection<DestinationDescription> destinations)
The destinations.
destinations
- The destinations.DeliveryStreamDescription.Builder destinations(DestinationDescription... destinations)
The destinations.
destinations
- The destinations.DeliveryStreamDescription.Builder hasMoreDestinations(Boolean hasMoreDestinations)
Indicates whether there are more destinations available to list.
hasMoreDestinations
- Indicates whether there are more destinations available to list.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.