@Generated(value="software.amazon.awssdk:codegen") public final class CreateDeliveryStreamRequest extends FirehoseRequest implements ToCopyableBuilder<CreateDeliveryStreamRequest.Builder,CreateDeliveryStreamRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDeliveryStreamRequest.Builder |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String deliveryStreamName()
The name of the delivery stream. This name must be unique per Amazon Web Services account in the same Amazon Web Services Region. If the delivery streams are in different accounts or different Regions, you can have multiple delivery streams with the same name.
public final DeliveryStreamType deliveryStreamType()
The delivery stream type. This parameter 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.
DeliveryStreamTypepublic final String deliveryStreamTypeAsString()
The delivery stream type. This parameter 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.
DeliveryStreamTypepublic final KinesisStreamSourceConfiguration kinesisStreamSourceConfiguration()
When a Kinesis data stream is used as the source for the delivery stream, a KinesisStreamSourceConfiguration containing the Kinesis data stream Amazon Resource Name (ARN) and the role ARN for the source stream.
public final DeliveryStreamEncryptionConfigurationInput deliveryStreamEncryptionConfigurationInput()
Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed for Server-Side Encryption (SSE).
@Deprecated public final S3DestinationConfiguration s3DestinationConfiguration()
[Deprecated] The destination in Amazon S3. You can specify only one destination.
public final ExtendedS3DestinationConfiguration extendedS3DestinationConfiguration()
The destination in Amazon S3. You can specify only one destination.
public final RedshiftDestinationConfiguration redshiftDestinationConfiguration()
The destination in Amazon Redshift. You can specify only one destination.
public final ElasticsearchDestinationConfiguration elasticsearchDestinationConfiguration()
The destination in Amazon ES. You can specify only one destination.
public final AmazonopensearchserviceDestinationConfiguration amazonopensearchserviceDestinationConfiguration()
The destination in Amazon OpenSearch Service. You can specify only one destination.
public final SplunkDestinationConfiguration splunkDestinationConfiguration()
The destination in Splunk. You can specify only one destination.
public final HttpEndpointDestinationConfiguration httpEndpointDestinationConfiguration()
Enables configuring Kinesis Firehose to deliver data to any HTTP endpoint destination. You can specify only one destination.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
A set of tags to assign to the delivery stream. A tag is a key-value pair that you can define and assign to Amazon Web Services resources. Tags are metadata. For example, you can add friendly names and descriptions or other types of information that can help you distinguish the delivery stream. For more information about tags, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
You can specify up to 50 tags when creating a delivery stream.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
You can specify up to 50 tags when creating a delivery stream.
public final AmazonOpenSearchServerlessDestinationConfiguration amazonOpenSearchServerlessDestinationConfiguration()
The destination in the Serverless offering for Amazon OpenSearch Service. You can specify only one destination.
public final MSKSourceConfiguration mskSourceConfiguration()
public CreateDeliveryStreamRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDeliveryStreamRequest.Builder,CreateDeliveryStreamRequest>toBuilder in class FirehoseRequestpublic static CreateDeliveryStreamRequest.Builder builder()
public static Class<? extends CreateDeliveryStreamRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.