Class CreateDeliveryStreamRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Contains the parameters for CreateDeliveryStream.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of the delivery stream.The destination in Amazon ES.The destination in Amazon Redshift.The destination in Amazon S3.int
hashCode()
void
setDeliveryStreamName
(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.toString()
Returns a string representation of this object; useful for testing and debugging.withDeliveryStreamName
(String deliveryStreamName) The name of the delivery stream.withElasticsearchDestinationConfiguration
(ElasticsearchDestinationConfiguration elasticsearchDestinationConfiguration) The destination in Amazon ES.withRedshiftDestinationConfiguration
(RedshiftDestinationConfiguration redshiftDestinationConfiguration) The destination in Amazon Redshift.withS3DestinationConfiguration
(S3DestinationConfiguration s3DestinationConfiguration) The destination in Amazon S3.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreateDeliveryStreamRequest
public CreateDeliveryStreamRequest()
-
-
Method Details
-
setDeliveryStreamName
The name of the delivery stream.
- Parameters:
deliveryStreamName
- The name of the delivery stream.
-
getDeliveryStreamName
The name of the delivery stream.
- Returns:
- The name of the delivery stream.
-
withDeliveryStreamName
The name of the delivery stream.
- Parameters:
deliveryStreamName
- The name of the delivery stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3DestinationConfiguration
The destination in Amazon S3. This value must be specified if ElasticsearchDestinationConfiguration or RedshiftDestinationConfiguration is specified (see restrictions listed above).
- Parameters:
s3DestinationConfiguration
- The destination in Amazon S3. This value must be specified if ElasticsearchDestinationConfiguration or RedshiftDestinationConfiguration is specified (see restrictions listed above).
-
getS3DestinationConfiguration
The destination in Amazon S3. This value must be specified if ElasticsearchDestinationConfiguration or RedshiftDestinationConfiguration is specified (see restrictions listed above).
- Returns:
- The destination in Amazon S3. This value must be specified if ElasticsearchDestinationConfiguration or RedshiftDestinationConfiguration is specified (see restrictions listed above).
-
withS3DestinationConfiguration
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).
- Parameters:
s3DestinationConfiguration
- The destination in Amazon S3. This value must be specified if ElasticsearchDestinationConfiguration or RedshiftDestinationConfiguration is specified (see restrictions listed above).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRedshiftDestinationConfiguration
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).
- Parameters:
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).
-
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).
- Returns:
- The destination in Amazon Redshift. This value cannot be specified if Amazon S3 or Amazon Elasticsearch is the desired destination (see restrictions listed above).
-
withRedshiftDestinationConfiguration
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setElasticsearchDestinationConfiguration
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).
- Parameters:
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).
-
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).
- Returns:
- The destination in Amazon ES. This value cannot be specified if Amazon S3 or Amazon Redshift is the desired destination (see restrictions listed above).
-
withElasticsearchDestinationConfiguration
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-