public class CreateDeliveryStreamRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the parameters for CreateDeliveryStream.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
deliveryStreamName
The name of the delivery stream.
|
private ElasticsearchDestinationConfiguration |
elasticsearchDestinationConfiguration
The destination in Amazon ES.
|
private RedshiftDestinationConfiguration |
redshiftDestinationConfiguration
The destination in Amazon Redshift.
|
private S3DestinationConfiguration |
s3DestinationConfiguration
The destination in Amazon S3.
|
NOOP
Constructor and Description |
---|
CreateDeliveryStreamRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeliveryStreamRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDeliveryStreamName()
The name of the delivery stream.
|
ElasticsearchDestinationConfiguration |
getElasticsearchDestinationConfiguration()
The destination in Amazon ES.
|
RedshiftDestinationConfiguration |
getRedshiftDestinationConfiguration()
The destination in Amazon Redshift.
|
S3DestinationConfiguration |
getS3DestinationConfiguration()
The destination in Amazon S3.
|
int |
hashCode() |
void |
setDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
|
void |
setElasticsearchDestinationConfiguration(ElasticsearchDestinationConfiguration elasticsearchDestinationConfiguration)
The destination in Amazon ES.
|
void |
setRedshiftDestinationConfiguration(RedshiftDestinationConfiguration redshiftDestinationConfiguration)
The destination in Amazon Redshift.
|
void |
setS3DestinationConfiguration(S3DestinationConfiguration s3DestinationConfiguration)
The destination in Amazon S3.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDeliveryStreamRequest |
withDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
|
CreateDeliveryStreamRequest |
withElasticsearchDestinationConfiguration(ElasticsearchDestinationConfiguration elasticsearchDestinationConfiguration)
The destination in Amazon ES.
|
CreateDeliveryStreamRequest |
withRedshiftDestinationConfiguration(RedshiftDestinationConfiguration redshiftDestinationConfiguration)
The destination in Amazon Redshift.
|
CreateDeliveryStreamRequest |
withS3DestinationConfiguration(S3DestinationConfiguration s3DestinationConfiguration)
The destination in Amazon S3.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String deliveryStreamName
The name of the delivery stream.
private S3DestinationConfiguration s3DestinationConfiguration
The destination in Amazon S3. This value must be specified if ElasticsearchDestinationConfiguration or RedshiftDestinationConfiguration is specified (see restrictions listed above).
private RedshiftDestinationConfiguration redshiftDestinationConfiguration
The destination in Amazon Redshift. This value cannot be specified if Amazon S3 or Amazon Elasticsearch is the desired destination (see restrictions listed above).
private ElasticsearchDestinationConfiguration elasticsearchDestinationConfiguration
The destination in Amazon ES. This value cannot be specified if Amazon S3 or Amazon Redshift is the desired destination (see restrictions listed above).
public void setDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public java.lang.String getDeliveryStreamName()
The name of the delivery stream.
public CreateDeliveryStreamRequest withDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public void setS3DestinationConfiguration(S3DestinationConfiguration s3DestinationConfiguration)
The destination in Amazon S3. This value must be specified if ElasticsearchDestinationConfiguration or RedshiftDestinationConfiguration is specified (see restrictions listed above).
s3DestinationConfiguration
- The destination in Amazon S3. This value must be specified if
ElasticsearchDestinationConfiguration or
RedshiftDestinationConfiguration is specified (see
restrictions listed above).public S3DestinationConfiguration getS3DestinationConfiguration()
The destination in Amazon S3. This value must be specified if ElasticsearchDestinationConfiguration or RedshiftDestinationConfiguration is specified (see restrictions listed above).
public CreateDeliveryStreamRequest withS3DestinationConfiguration(S3DestinationConfiguration s3DestinationConfiguration)
The destination in Amazon S3. This value must be specified if ElasticsearchDestinationConfiguration or RedshiftDestinationConfiguration is specified (see restrictions listed above).
s3DestinationConfiguration
- The destination in Amazon S3. This value must be specified if
ElasticsearchDestinationConfiguration or
RedshiftDestinationConfiguration is specified (see
restrictions listed above).public void setRedshiftDestinationConfiguration(RedshiftDestinationConfiguration redshiftDestinationConfiguration)
The destination in Amazon Redshift. This value cannot be specified if Amazon S3 or Amazon Elasticsearch is the desired destination (see restrictions listed above).
redshiftDestinationConfiguration
- The destination in Amazon Redshift. This value cannot be specified
if Amazon S3 or Amazon Elasticsearch is the desired destination
(see restrictions listed above).public RedshiftDestinationConfiguration getRedshiftDestinationConfiguration()
The destination in Amazon Redshift. This value cannot be specified if Amazon S3 or Amazon Elasticsearch is the desired destination (see restrictions listed above).
public CreateDeliveryStreamRequest withRedshiftDestinationConfiguration(RedshiftDestinationConfiguration redshiftDestinationConfiguration)
The destination in Amazon Redshift. This value cannot be specified if Amazon S3 or Amazon Elasticsearch is the desired destination (see restrictions listed above).
redshiftDestinationConfiguration
- The destination in Amazon Redshift. This value cannot be specified
if Amazon S3 or Amazon Elasticsearch is the desired destination
(see restrictions listed above).public void setElasticsearchDestinationConfiguration(ElasticsearchDestinationConfiguration elasticsearchDestinationConfiguration)
The destination in Amazon ES. This value cannot be specified if Amazon S3 or Amazon Redshift is the desired destination (see restrictions listed above).
elasticsearchDestinationConfiguration
- The destination in Amazon ES. This value cannot be specified if
Amazon S3 or Amazon Redshift is the desired destination (see
restrictions listed above).public ElasticsearchDestinationConfiguration getElasticsearchDestinationConfiguration()
The destination in Amazon ES. This value cannot be specified if Amazon S3 or Amazon Redshift is the desired destination (see restrictions listed above).
public CreateDeliveryStreamRequest withElasticsearchDestinationConfiguration(ElasticsearchDestinationConfiguration elasticsearchDestinationConfiguration)
The destination in Amazon ES. This value cannot be specified if Amazon S3 or Amazon Redshift is the desired destination (see restrictions listed above).
elasticsearchDestinationConfiguration
- The destination in Amazon ES. This value cannot be specified if
Amazon S3 or Amazon Redshift is the desired destination (see
restrictions listed above).public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateDeliveryStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()