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 UpdateDestinationRequest
clone()
Creates a shallow clone of this request.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()
Describes an update for a destination in Amazon Redshift.S3DestinationUpdate
getS3DestinationUpdate()
Describes an update for a destination in Amazon S3.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)
Describes an update for a destination in Amazon Redshift.void
setS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate)
Describes an update for a destination in Amazon S3.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)
Describes an update for a destination in Amazon Redshift.UpdateDestinationRequest
withS3DestinationUpdate(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateDestinationRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-