Class UpdateDestinationRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.kinesisfirehose.model.UpdateDestinationRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class UpdateDestinationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Contains the parameters for UpdateDestination.

See Also:
  • Constructor Details

    • UpdateDestinationRequest

      public UpdateDestinationRequest()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public UpdateDestinationRequest 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 class AmazonWebServiceRequest
      See Also: