Class UpdateDestinationRequest

    • Constructor Detail

      • UpdateDestinationRequest

        public UpdateDestinationRequest()
    • 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 UpdateDestinationRequest 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.
      • setCurrentDeliveryStreamVersionId

        public void setCurrentDeliveryStreamVersionId​(String currentDeliveryStreamVersionId)

        Obtain this value from the VersionId result of the DeliveryStreamDescription operation. This value is required, and helps the service to perform conditional operations. For example, if there is a interleaving update and this value is null, then the update destination fails. After the update is successful, the VersionId value is updated. The service then performs a merge of the old configuration with the new configuration.

        Parameters:
        currentDeliveryStreamVersionId - Obtain this value from the VersionId result of the DeliveryStreamDescription operation. This value is required, and helps the service to perform conditional operations. For example, if there is a interleaving update and this value is null, then the update destination fails. After the update is successful, the VersionId value is updated. The service then performs a merge of the old configuration with the new configuration.
      • getCurrentDeliveryStreamVersionId

        public String getCurrentDeliveryStreamVersionId()

        Obtain this value from the VersionId result of the DeliveryStreamDescription operation. This value is required, and helps the service to perform conditional operations. For example, if there is a interleaving update and this value is null, then the update destination fails. After the update is successful, the VersionId value is updated. The service then performs a merge of the old configuration with the new configuration.

        Returns:
        Obtain this value from the VersionId result of the DeliveryStreamDescription operation. This value is required, and helps the service to perform conditional operations. For example, if there is a interleaving update and this value is null, then the update destination fails. After the update is successful, the VersionId value is updated. The service then performs a merge of the old configuration with the new configuration.
      • withCurrentDeliveryStreamVersionId

        public UpdateDestinationRequest withCurrentDeliveryStreamVersionId​(String currentDeliveryStreamVersionId)

        Obtain this value from the VersionId result of the DeliveryStreamDescription operation. This value is required, and helps the service to perform conditional operations. For example, if there is a interleaving update and this value is null, then the update destination fails. After the update is successful, the VersionId value is updated. The service then performs a merge of the old configuration with the new configuration.

        Parameters:
        currentDeliveryStreamVersionId - Obtain this value from the VersionId result of the DeliveryStreamDescription operation. This value is required, and helps the service to perform conditional operations. For example, if there is a interleaving update and this value is null, then the update destination fails. After the update is successful, the VersionId value is updated. The service then performs a merge of the old configuration with the new configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDestinationId

        public void setDestinationId​(String destinationId)

        The ID of the destination.

        Parameters:
        destinationId - The ID of the destination.
      • getDestinationId

        public String getDestinationId()

        The ID of the destination.

        Returns:
        The ID of the destination.
      • withDestinationId

        public UpdateDestinationRequest withDestinationId​(String destinationId)

        The ID of the destination.

        Parameters:
        destinationId - The ID of the destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setS3DestinationUpdate

        public void setS3DestinationUpdate​(S3DestinationUpdate s3DestinationUpdate)

        Describes an update for a destination in Amazon S3.

        Parameters:
        s3DestinationUpdate - Describes an update for a destination in Amazon S3.
      • getS3DestinationUpdate

        public S3DestinationUpdate getS3DestinationUpdate()

        Describes an update for a destination in Amazon S3.

        Returns:
        Describes an update for a destination in Amazon S3.
      • withS3DestinationUpdate

        public UpdateDestinationRequest withS3DestinationUpdate​(S3DestinationUpdate s3DestinationUpdate)

        Describes an update for a destination in Amazon S3.

        Parameters:
        s3DestinationUpdate - Describes an update for a destination in Amazon S3.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRedshiftDestinationUpdate

        public void setRedshiftDestinationUpdate​(RedshiftDestinationUpdate redshiftDestinationUpdate)

        Describes an update for a destination in Amazon Redshift.

        Parameters:
        redshiftDestinationUpdate - Describes an update for a destination in Amazon Redshift.
      • getRedshiftDestinationUpdate

        public RedshiftDestinationUpdate getRedshiftDestinationUpdate()

        Describes an update for a destination in Amazon Redshift.

        Returns:
        Describes an update for a destination in Amazon Redshift.
      • withRedshiftDestinationUpdate

        public UpdateDestinationRequest withRedshiftDestinationUpdate​(RedshiftDestinationUpdate redshiftDestinationUpdate)

        Describes an update for a destination in Amazon Redshift.

        Parameters:
        redshiftDestinationUpdate - Describes an update for a destination in Amazon Redshift.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setElasticsearchDestinationUpdate

        public void setElasticsearchDestinationUpdate​(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate)

        Describes an update for a destination in Amazon ES.

        Parameters:
        elasticsearchDestinationUpdate - Describes an update for a destination in Amazon ES.
      • getElasticsearchDestinationUpdate

        public ElasticsearchDestinationUpdate getElasticsearchDestinationUpdate()

        Describes an update for a destination in Amazon ES.

        Returns:
        Describes an update for a destination in Amazon ES.
      • withElasticsearchDestinationUpdate

        public UpdateDestinationRequest withElasticsearchDestinationUpdate​(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate)

        Describes an update for a destination in Amazon ES.

        Parameters:
        elasticsearchDestinationUpdate - Describes an update for a destination in Amazon ES.
        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