public class UpdateDestinationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for UpdateDestination.
NOOP
Constructor and Description |
---|
UpdateDestinationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDestinationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCurrentDeliveryStreamVersionId()
Obtain this value from the VersionId result of the
DeliveryStreamDescription operation.
|
String |
getDeliveryStreamName()
The name of the delivery stream.
|
String |
getDestinationId()
The ID of the destination.
|
ElasticsearchDestinationUpdate |
getElasticsearchDestinationUpdate()
Describes an update for a destination in Amazon ES.
|
RedshiftDestinationUpdate |
getRedshiftDestinationUpdate() |
S3DestinationUpdate |
getS3DestinationUpdate() |
int |
hashCode() |
void |
setCurrentDeliveryStreamVersionId(String currentDeliveryStreamVersionId)
Obtain this value from the VersionId result of the
DeliveryStreamDescription operation.
|
void |
setDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
|
void |
setDestinationId(String destinationId)
The ID of the destination.
|
void |
setElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate)
Describes an update for a destination in Amazon ES.
|
void |
setRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate) |
void |
setS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateDestinationRequest |
withCurrentDeliveryStreamVersionId(String currentDeliveryStreamVersionId)
Obtain this value from the VersionId result of the
DeliveryStreamDescription operation.
|
UpdateDestinationRequest |
withDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
|
UpdateDestinationRequest |
withDestinationId(String destinationId)
The ID of the destination.
|
UpdateDestinationRequest |
withElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate)
Describes an update for a destination in Amazon ES.
|
UpdateDestinationRequest |
withRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate) |
UpdateDestinationRequest |
withS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate) |
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public String getDeliveryStreamName()
The name of the delivery stream.
public UpdateDestinationRequest withDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.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.
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.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.
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.
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.public void setDestinationId(String destinationId)
The ID of the destination.
destinationId
- The ID of the destination.public String getDestinationId()
The ID of the destination.
public UpdateDestinationRequest withDestinationId(String destinationId)
The ID of the destination.
destinationId
- The ID of the destination.public void setS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate)
s3DestinationUpdate
- public S3DestinationUpdate getS3DestinationUpdate()
public UpdateDestinationRequest withS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate)
s3DestinationUpdate
- public void setRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate)
redshiftDestinationUpdate
- public RedshiftDestinationUpdate getRedshiftDestinationUpdate()
public UpdateDestinationRequest withRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate)
redshiftDestinationUpdate
- public void setElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate)
Describes an update for a destination in Amazon ES.
elasticsearchDestinationUpdate
- Describes an update for a destination in Amazon ES.public ElasticsearchDestinationUpdate getElasticsearchDestinationUpdate()
Describes an update for a destination in Amazon ES.
public UpdateDestinationRequest withElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate)
Describes an update for a destination in Amazon ES.
elasticsearchDestinationUpdate
- Describes an update for a destination in Amazon ES.public String toString()
toString
in class Object
Object.toString()
public UpdateDestinationRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.