Class UpdateDestinationRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
Contains the parameters for UpdateDestination.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanObtain this value from the VersionId result of the DeliveryStreamDescription operation.The name of the delivery stream.The ID of the destination.Describes an update for a destination in Amazon ES.Describes an update for a destination in Amazon Redshift.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.toString()Returns a string representation of this object; useful for testing and debugging.withCurrentDeliveryStreamVersionId(String currentDeliveryStreamVersionId) Obtain this value from the VersionId result of the DeliveryStreamDescription operation.withDeliveryStreamName(String deliveryStreamName) The name of the delivery stream.withDestinationId(String destinationId) The ID of the destination.withElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate) Describes an update for a destination in Amazon ES.withRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate) Describes an update for a destination in Amazon Redshift.withS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate) Describes an update for a destination in Amazon S3.Methods inherited from class 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
-
Constructor Details
-
UpdateDestinationRequest
public UpdateDestinationRequest()
-
-
Method Details
-
setDeliveryStreamName
The name of the delivery stream.
- Parameters:
deliveryStreamName- The name of the delivery stream.
-
getDeliveryStreamName
The name of the delivery stream.
- Returns:
- The name of the delivery stream.
-
withDeliveryStreamName
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
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
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
The ID of the destination.
- Parameters:
destinationId- The ID of the destination.
-
getDestinationId
-
withDestinationId
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
Describes an update for a destination in Amazon S3.
- Parameters:
s3DestinationUpdate- Describes an update for a destination in Amazon S3.
-
getS3DestinationUpdate
Describes an update for a destination in Amazon S3.
- Returns:
- Describes an update for a destination in Amazon S3.
-
withS3DestinationUpdate
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
Describes an update for a destination in Amazon Redshift.
- Parameters:
redshiftDestinationUpdate- Describes an update for a destination in Amazon Redshift.
-
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
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
-
equals
-
hashCode
-
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:
-