Class CreateDeliveryStreamRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.kinesisfirehose.model.CreateDeliveryStreamRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateDeliveryStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for CreateDeliveryStream.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateDeliveryStreamRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDeliveryStreamRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
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(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.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateDeliveryStreamRequest
withDeliveryStreamName(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.-
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
-
-
-
-
Method Detail
-
setDeliveryStreamName
public void setDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
- Parameters:
deliveryStreamName
- The name of the delivery stream.
-
getDeliveryStreamName
public String getDeliveryStreamName()
The name of the delivery stream.
- Returns:
- The name of the delivery stream.
-
withDeliveryStreamName
public CreateDeliveryStreamRequest withDeliveryStreamName(String deliveryStreamName)
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
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).
- Parameters:
s3DestinationConfiguration
- The destination in Amazon S3. This value must be specified if ElasticsearchDestinationConfiguration or RedshiftDestinationConfiguration is specified (see restrictions listed above).
-
getS3DestinationConfiguration
public S3DestinationConfiguration 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
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).
- 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
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).
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateDeliveryStreamRequest 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:
Object.clone()
-
-