/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.kinesisfirehose.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateDeliveryStreamRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* 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. *

*/ private String deliveryStreamName; /** *

* The delivery stream type. This parameter can be one of the following values: *

* */ private String deliveryStreamType; /** *

* 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. *

*/ private KinesisStreamSourceConfiguration kinesisStreamSourceConfiguration; /** *

* Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed for Server-Side Encryption (SSE). *

*/ private DeliveryStreamEncryptionConfigurationInput deliveryStreamEncryptionConfigurationInput; /** *

* [Deprecated] The destination in Amazon S3. You can specify only one destination. *

*/ @Deprecated private S3DestinationConfiguration s3DestinationConfiguration; /** *

* The destination in Amazon S3. You can specify only one destination. *

*/ private ExtendedS3DestinationConfiguration extendedS3DestinationConfiguration; /** *

* The destination in Amazon Redshift. You can specify only one destination. *

*/ private RedshiftDestinationConfiguration redshiftDestinationConfiguration; /** *

* The destination in Amazon ES. You can specify only one destination. *

*/ private ElasticsearchDestinationConfiguration elasticsearchDestinationConfiguration; /** *

* The destination in Amazon OpenSearch Service. You can specify only one destination. *

*/ private AmazonopensearchserviceDestinationConfiguration amazonopensearchserviceDestinationConfiguration; /** *

* The destination in Splunk. You can specify only one destination. *

*/ private SplunkDestinationConfiguration splunkDestinationConfiguration; /** *

* Enables configuring Kinesis Firehose to deliver data to any HTTP endpoint destination. You can specify only one * destination. *

*/ private HttpEndpointDestinationConfiguration httpEndpointDestinationConfiguration; /** *

* 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. *

*/ private java.util.List tags; /** *

* The destination in the Serverless offering for Amazon OpenSearch Service. You can specify only one destination. *

*/ private AmazonOpenSearchServerlessDestinationConfiguration amazonOpenSearchServerlessDestinationConfiguration; /** *

* 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. *

* * @param 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 void setDeliveryStreamName(String deliveryStreamName) { this.deliveryStreamName = 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. *

* * @return 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 String getDeliveryStreamName() { return this.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. *

* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDeliveryStreamRequest withDeliveryStreamName(String deliveryStreamName) { setDeliveryStreamName(deliveryStreamName); return this; } /** *

* The delivery stream type. This parameter can be one of the following values: *

* * * @param deliveryStreamType * The delivery stream type. This parameter can be one of the following values:

*