@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 |
Modifier and Type | Method and Description |
---|---|
static CreateDeliveryStreamRequest.Builder |
builder() |
DeliveryStreamEncryptionConfigurationInput |
deliveryStreamEncryptionConfigurationInput()
Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed for Server-Side Encryption (SSE).
|
String |
deliveryStreamName()
The name of the delivery stream.
|
DeliveryStreamType |
deliveryStreamType()
The delivery stream type.
|
String |
deliveryStreamTypeAsString()
The delivery stream type.
|
ElasticsearchDestinationConfiguration |
elasticsearchDestinationConfiguration()
The destination in Amazon ES.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExtendedS3DestinationConfiguration |
extendedS3DestinationConfiguration()
The destination in Amazon S3.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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.
|
RedshiftDestinationConfiguration |
redshiftDestinationConfiguration()
The destination in Amazon Redshift.
|
S3DestinationConfiguration |
s3DestinationConfiguration()
[Deprecated] The destination in Amazon S3.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDeliveryStreamRequest.Builder> |
serializableBuilderClass() |
SplunkDestinationConfiguration |
splunkDestinationConfiguration()
The destination in Splunk.
|
List<Tag> |
tags()
A set of tags to assign to the delivery stream.
|
CreateDeliveryStreamRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String deliveryStreamName()
The name of the delivery stream. This name must be unique per AWS account in the same AWS Region. If the delivery streams are in different accounts or different Regions, you can have multiple delivery streams with the same name.
public 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.
DeliveryStreamType
public 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.
DeliveryStreamType
public 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 DeliveryStreamEncryptionConfigurationInput deliveryStreamEncryptionConfigurationInput()
Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed for Server-Side Encryption (SSE).
public S3DestinationConfiguration s3DestinationConfiguration()
[Deprecated] The destination in Amazon S3. You can specify only one destination.
public ExtendedS3DestinationConfiguration extendedS3DestinationConfiguration()
The destination in Amazon S3. You can specify only one destination.
public RedshiftDestinationConfiguration redshiftDestinationConfiguration()
The destination in Amazon Redshift. You can specify only one destination.
public ElasticsearchDestinationConfiguration elasticsearchDestinationConfiguration()
The destination in Amazon ES. You can specify only one destination.
public SplunkDestinationConfiguration splunkDestinationConfiguration()
The destination in Splunk. You can specify only one destination.
public boolean hasTags()
public 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 AWS 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 AWS 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.
You can use hasTags()
to see if a value was sent in this field.
You can specify up to 50 tags when creating a delivery stream.
public CreateDeliveryStreamRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateDeliveryStreamRequest.Builder,CreateDeliveryStreamRequest>
toBuilder
in class FirehoseRequest
public static CreateDeliveryStreamRequest.Builder builder()
public static Class<? extends CreateDeliveryStreamRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.