Interface DeliveryStreamDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeliveryStreamDescription.Builder,
,DeliveryStreamDescription> SdkBuilder<DeliveryStreamDescription.Builder,
,DeliveryStreamDescription> SdkPojo
- Enclosing class:
DeliveryStreamDescription
-
Method Summary
Modifier and TypeMethodDescriptioncreateTimestamp
(Instant createTimestamp) The date and time that the delivery stream was created.deliveryStreamARN
(String deliveryStreamARN) The Amazon Resource Name (ARN) of the delivery stream.deliveryStreamEncryptionConfiguration
(Consumer<DeliveryStreamEncryptionConfiguration.Builder> deliveryStreamEncryptionConfiguration) Indicates the server-side encryption (SSE) status for the delivery stream.deliveryStreamEncryptionConfiguration
(DeliveryStreamEncryptionConfiguration deliveryStreamEncryptionConfiguration) Indicates the server-side encryption (SSE) status for the delivery stream.deliveryStreamName
(String deliveryStreamName) The name of the delivery stream.deliveryStreamStatus
(String deliveryStreamStatus) The status of the delivery stream.deliveryStreamStatus
(DeliveryStreamStatus deliveryStreamStatus) The status of the delivery stream.deliveryStreamType
(String deliveryStreamType) The delivery stream type.deliveryStreamType
(DeliveryStreamType deliveryStreamType) The delivery stream type.destinations
(Collection<DestinationDescription> destinations) The destinations.destinations
(Consumer<DestinationDescription.Builder>... destinations) The destinations.destinations
(DestinationDescription... destinations) The destinations.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.failureDescription
(FailureDescription failureDescription) Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.hasMoreDestinations
(Boolean hasMoreDestinations) Indicates whether there are more destinations available to list.lastUpdateTimestamp
(Instant lastUpdateTimestamp) The date and time that the delivery stream was last updated.source
(Consumer<SourceDescription.Builder> source) If theDeliveryStreamType
parameter isKinesisStreamAsSource
, a SourceDescription object describing the source Kinesis data stream.source
(SourceDescription source) If theDeliveryStreamType
parameter isKinesisStreamAsSource
, a SourceDescription object describing the source Kinesis data stream.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
deliveryStreamARN
The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
- Parameters:
deliveryStreamARN
- The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 invokeCreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream operation to delete it.- Parameters:
deliveryStreamStatus
- The status of the delivery stream. If the status of a delivery stream isCREATING_FAILED
, this status doesn't change, and you can't invokeCreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream operation to delete it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 invokeCreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream operation to delete it.- Parameters:
deliveryStreamStatus
- The status of the delivery stream. If the status of a delivery stream isCREATING_FAILED
, this status doesn't change, and you can't invokeCreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream operation to delete it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureDescription
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
- Parameters:
failureDescription
- Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureDescription
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 method that creates an instance of theFailureDescription.Builder
avoiding the need to create one manually viaFailureDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailureDescription(FailureDescription)
.- Parameters:
failureDescription
- a consumer that will call methods onFailureDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deliveryStreamEncryptionConfiguration
DeliveryStreamDescription.Builder deliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration deliveryStreamEncryptionConfiguration) Indicates the server-side encryption (SSE) status for the delivery stream.
- Parameters:
deliveryStreamEncryptionConfiguration
- Indicates the server-side encryption (SSE) status for the delivery stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryStreamEncryptionConfiguration
default DeliveryStreamDescription.Builder deliveryStreamEncryptionConfiguration(Consumer<DeliveryStreamEncryptionConfiguration.Builder> deliveryStreamEncryptionConfiguration) Indicates the server-side encryption (SSE) status for the delivery stream.
This is a convenience method that creates an instance of theDeliveryStreamEncryptionConfiguration.Builder
avoiding the need to create one manually viaDeliveryStreamEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration)
.- Parameters:
deliveryStreamEncryptionConfiguration
- a consumer that will call methods onDeliveryStreamEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
source
If the
DeliveryStreamType
parameter isKinesisStreamAsSource
, a SourceDescription object describing the source Kinesis data stream.- Parameters:
source
- If theDeliveryStreamType
parameter isKinesisStreamAsSource
, a SourceDescription object describing the source Kinesis data stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
If the
This is a convenience method that creates an instance of theDeliveryStreamType
parameter isKinesisStreamAsSource
, a SourceDescription object describing the source Kinesis data stream.SourceDescription.Builder
avoiding the need to create one manually viaSourceDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(SourceDescription)
.- Parameters:
source
- a consumer that will call methods onSourceDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinations
The destinations.
- Parameters:
destinations
- The destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The destinations.
- Parameters:
destinations
- The destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
DeliveryStreamDescription.Builder destinations(Consumer<DestinationDescription.Builder>... destinations) The destinations.
This is a convenience method that creates an instance of theDestinationDescription.Builder
avoiding the need to create one manually viaDestinationDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinations(List<DestinationDescription>)
.- Parameters:
destinations
- a consumer that will call methods onDestinationDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-