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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateDestinationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDestinationRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetCurrentDeliveryStreamVersionId()Obtain this value from the VersionId result of the DeliveryStreamDescription operation.StringgetDeliveryStreamName()The name of the delivery stream.StringgetDestinationId()The ID of the destination.ElasticsearchDestinationUpdategetElasticsearchDestinationUpdate()Describes an update for a destination in Amazon ES.RedshiftDestinationUpdategetRedshiftDestinationUpdate()Describes an update for a destination in Amazon Redshift.S3DestinationUpdategetS3DestinationUpdate()Describes an update for a destination in Amazon S3.inthashCode()voidsetCurrentDeliveryStreamVersionId(String currentDeliveryStreamVersionId)Obtain this value from the VersionId result of the DeliveryStreamDescription operation.voidsetDeliveryStreamName(String deliveryStreamName)The name of the delivery stream.voidsetDestinationId(String destinationId)The ID of the destination.voidsetElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate)Describes an update for a destination in Amazon ES.voidsetRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate)Describes an update for a destination in Amazon Redshift.voidsetS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate)Describes an update for a destination in Amazon S3.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateDestinationRequestwithCurrentDeliveryStreamVersionId(String currentDeliveryStreamVersionId)Obtain this value from the VersionId result of the DeliveryStreamDescription operation.UpdateDestinationRequestwithDeliveryStreamName(String deliveryStreamName)The name of the delivery stream.UpdateDestinationRequestwithDestinationId(String destinationId)The ID of the destination.UpdateDestinationRequestwithElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate)Describes an update for a destination in Amazon ES.UpdateDestinationRequestwithRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate)Describes an update for a destination in Amazon Redshift.UpdateDestinationRequestwithS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate)Describes an update for a 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 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateDestinationRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-