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.
|
RedshiftDestinationUpdate |
getRedshiftDestinationUpdate()
Returns the value of the RedshiftDestinationUpdate property for this
object.
|
S3DestinationUpdate |
getS3DestinationUpdate()
Returns the value of the S3DestinationUpdate property for this object.
|
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 |
setRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate)
Sets the value of the RedshiftDestinationUpdate property for this object.
|
void |
setS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate)
Sets the value of the S3DestinationUpdate property for this object.
|
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 |
withRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate)
Sets the value of the RedshiftDestinationUpdate property for this object.
|
UpdateDestinationRequest |
withS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate)
Sets the value of the S3DestinationUpdate property for this object.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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.
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 - The new value for the S3DestinationUpdate property for this
object.public S3DestinationUpdate getS3DestinationUpdate()
public UpdateDestinationRequest withS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate)
s3DestinationUpdate - The new value for the S3DestinationUpdate property for this
object.public void setRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate)
redshiftDestinationUpdate - The new value for the RedshiftDestinationUpdate property for this
object.public RedshiftDestinationUpdate getRedshiftDestinationUpdate()
public UpdateDestinationRequest withRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate)
redshiftDestinationUpdate - The new value for the RedshiftDestinationUpdate property for this
object.public String toString()
toString in class ObjectObject.toString()public UpdateDestinationRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.