@Generated(value="software.amazon.awssdk:codegen") public class CreateDeliveryStreamRequest extends FirehoseRequest implements ToCopyableBuilder<CreateDeliveryStreamRequest.Builder,CreateDeliveryStreamRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateDeliveryStreamRequest.Builder |
requestOverrideConfig
copy
public String deliveryStreamName()
The name of the delivery stream. This name must be unique per AWS account in the same 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 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 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 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 stream as a source.
DeliveryStreamType
public KinesisStreamSourceConfiguration kinesisStreamSourceConfiguration()
When a Kinesis stream is used as the source for the delivery stream, a KinesisStreamSourceConfiguration containing the Kinesis stream ARN and the role ARN for the source stream.
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 CreateDeliveryStreamRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateDeliveryStreamRequest.Builder,CreateDeliveryStreamRequest>
toBuilder
in class FirehoseRequest
public static CreateDeliveryStreamRequest.Builder builder()
public static Class<? extends CreateDeliveryStreamRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.