Class CreateDeliveryStreamRequest

    • Constructor Detail

      • CreateDeliveryStreamRequest

        public CreateDeliveryStreamRequest()
    • 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object