public static interface DeliveryStreamDescription.Builder extends SdkPojo, 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.
|
default DeliveryStreamDescription.Builder |
deliveryStreamEncryptionConfiguration(Consumer<DeliveryStreamEncryptionConfiguration.Builder> deliveryStreamEncryptionConfiguration)
Indicates the server-side encryption (SSE) status for the delivery stream.
|
DeliveryStreamDescription.Builder |
deliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration deliveryStreamEncryptionConfiguration)
Indicates the server-side encryption (SSE) status for 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(Consumer<DestinationDescription.Builder>... destinations)
The destinations.
|
DeliveryStreamDescription.Builder |
destinations(DestinationDescription... destinations)
The destinations.
|
default DeliveryStreamDescription.Builder |
failureDescription(Consumer<FailureDescription.Builder> failureDescription)
Provides details in case one of the following operations fails due to an error related to KMS:
CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption,
StopDeliveryStreamEncryption.
|
DeliveryStreamDescription.Builder |
failureDescription(FailureDescription failureDescription)
Provides details in case one of the following operations fails due to an error related to KMS:
CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption,
StopDeliveryStreamEncryption.
|
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 data stream. |
DeliveryStreamDescription.Builder |
source(SourceDescription source)
If the
DeliveryStreamType parameter is KinesisStreamAsSource , a
SourceDescription object describing the source Kinesis data 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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, 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. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
deliveryStreamARN
- The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource
Names (ARNs) and AWS Service Namespaces.DeliveryStreamDescription.Builder deliveryStreamStatus(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
,
DeliveryStreamStatus
DeliveryStreamDescription.Builder deliveryStreamStatus(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
,
DeliveryStreamStatus
DeliveryStreamDescription.Builder failureDescription(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.default DeliveryStreamDescription.Builder failureDescription(Consumer<FailureDescription.Builder> failureDescription)
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
This is a convenience that creates an instance of theFailureDescription.Builder
avoiding the need to
create one manually via FailureDescription.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to failureDescription(FailureDescription)
.failureDescription
- a consumer that will call methods on FailureDescription.Builder
failureDescription(FailureDescription)
DeliveryStreamDescription.Builder deliveryStreamEncryptionConfiguration(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.default DeliveryStreamDescription.Builder deliveryStreamEncryptionConfiguration(Consumer<DeliveryStreamEncryptionConfiguration.Builder> deliveryStreamEncryptionConfiguration)
Indicates the server-side encryption (SSE) status for the delivery stream.
This is a convenience that creates an instance of theDeliveryStreamEncryptionConfiguration.Builder
avoiding the need to create one manually via DeliveryStreamEncryptionConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
deliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration)
.deliveryStreamEncryptionConfiguration
- a consumer that will call methods on DeliveryStreamEncryptionConfiguration.Builder
deliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration)
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 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
,
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 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
,
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 data stream.
source
- If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis data stream.default DeliveryStreamDescription.Builder source(Consumer<SourceDescription.Builder> source)
If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a
SourceDescription object describing the source Kinesis data 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 destinations(Consumer<DestinationDescription.Builder>... destinations)
The destinations.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #destinations(List)
.destinations
- a consumer that will call methods on List.Builder
#destinations(List)
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 © 2020. All rights reserved.