public class UpdateDestinationRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the parameters for UpdateDestination.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
currentDeliveryStreamVersionId
Obtain this value from the VersionId result of the
DeliveryStreamDescription operation.
|
private java.lang.String |
deliveryStreamName
The name of the delivery stream.
|
private java.lang.String |
destinationId
The ID of the destination.
|
private ElasticsearchDestinationUpdate |
elasticsearchDestinationUpdate
Describes an update for a destination in Amazon ES.
|
private RedshiftDestinationUpdate |
redshiftDestinationUpdate
Describes an update for a destination in Amazon Redshift.
|
private S3DestinationUpdate |
s3DestinationUpdate
Describes an update for a destination in Amazon S3.
|
NOOP
Constructor and Description |
---|
UpdateDestinationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDestinationRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCurrentDeliveryStreamVersionId()
Obtain this value from the VersionId result of the
DeliveryStreamDescription operation.
|
java.lang.String |
getDeliveryStreamName()
The name of the delivery stream.
|
java.lang.String |
getDestinationId()
The ID of the destination.
|
ElasticsearchDestinationUpdate |
getElasticsearchDestinationUpdate()
Describes an update for a destination in Amazon ES.
|
RedshiftDestinationUpdate |
getRedshiftDestinationUpdate()
Describes an update for a destination in Amazon Redshift.
|
S3DestinationUpdate |
getS3DestinationUpdate()
Describes an update for a destination in Amazon S3.
|
int |
hashCode() |
void |
setCurrentDeliveryStreamVersionId(java.lang.String currentDeliveryStreamVersionId)
Obtain this value from the VersionId result of the
DeliveryStreamDescription operation.
|
void |
setDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
|
void |
setDestinationId(java.lang.String destinationId)
The ID of the destination.
|
void |
setElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate)
Describes an update for a destination in Amazon ES.
|
void |
setRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate)
Describes an update for a destination in Amazon Redshift.
|
void |
setS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate)
Describes an update for a destination in Amazon S3.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateDestinationRequest |
withCurrentDeliveryStreamVersionId(java.lang.String currentDeliveryStreamVersionId)
Obtain this value from the VersionId result of the
DeliveryStreamDescription operation.
|
UpdateDestinationRequest |
withDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
|
UpdateDestinationRequest |
withDestinationId(java.lang.String destinationId)
The ID of the destination.
|
UpdateDestinationRequest |
withElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate)
Describes an update for a destination in Amazon ES.
|
UpdateDestinationRequest |
withRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate)
Describes an update for a destination in Amazon Redshift.
|
UpdateDestinationRequest |
withS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate)
Describes an update for a destination in Amazon S3.
|
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
private java.lang.String deliveryStreamName
The name of the delivery stream.
private java.lang.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.
private java.lang.String destinationId
The ID of the destination.
private S3DestinationUpdate s3DestinationUpdate
Describes an update for a destination in Amazon S3.
private RedshiftDestinationUpdate redshiftDestinationUpdate
Describes an update for a destination in Amazon Redshift.
private ElasticsearchDestinationUpdate elasticsearchDestinationUpdate
Describes an update for a destination in Amazon ES.
public void setDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public java.lang.String getDeliveryStreamName()
The name of the delivery stream.
public UpdateDestinationRequest withDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public void setCurrentDeliveryStreamVersionId(java.lang.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 java.lang.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(java.lang.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(java.lang.String destinationId)
The ID of the destination.
destinationId
- The ID of the destination.public java.lang.String getDestinationId()
The ID of the destination.
public UpdateDestinationRequest withDestinationId(java.lang.String destinationId)
The ID of the destination.
destinationId
- The ID of the destination.public void setS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate)
Describes an update for a destination in Amazon S3.
s3DestinationUpdate
- Describes an update for a destination in Amazon S3.public S3DestinationUpdate getS3DestinationUpdate()
Describes an update for a destination in Amazon S3.
public UpdateDestinationRequest withS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate)
Describes an update for a destination in Amazon S3.
s3DestinationUpdate
- Describes an update for a destination in Amazon S3.public void setRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate)
Describes an update for a destination in Amazon Redshift.
redshiftDestinationUpdate
- Describes an update for a destination in Amazon Redshift.public RedshiftDestinationUpdate getRedshiftDestinationUpdate()
Describes an update for a destination in Amazon Redshift.
public UpdateDestinationRequest withRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate)
Describes an update for a destination in Amazon Redshift.
redshiftDestinationUpdate
- Describes an update for a destination in Amazon Redshift.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateDestinationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()