@Generated(value="software.amazon.awssdk:codegen") public final class UpdateDestinationRequest extends FirehoseRequest implements ToCopyableBuilder<UpdateDestinationRequest.Builder,UpdateDestinationRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateDestinationRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateDestinationRequest.Builder |
builder() |
String |
currentDeliveryStreamVersionId()
Obtain this value from the VersionId result of DeliveryStreamDescription.
|
String |
deliveryStreamName()
The name of the delivery stream.
|
String |
destinationId()
The ID of the destination.
|
ElasticsearchDestinationUpdate |
elasticsearchDestinationUpdate()
Describes an update for a destination in Amazon ES.
|
boolean |
equals(Object obj) |
ExtendedS3DestinationUpdate |
extendedS3DestinationUpdate()
Describes an update for a destination in Amazon S3.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
RedshiftDestinationUpdate |
redshiftDestinationUpdate()
Describes an update for a destination in Amazon Redshift.
|
S3DestinationUpdate |
s3DestinationUpdate()
[Deprecated] Describes an update for a destination in Amazon S3.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateDestinationRequest.Builder> |
serializableBuilderClass() |
SplunkDestinationUpdate |
splunkDestinationUpdate()
Describes an update for a destination in Splunk.
|
UpdateDestinationRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String deliveryStreamName()
The name of the delivery stream.
public String currentDeliveryStreamVersionId()
Obtain this value from the VersionId result of DeliveryStreamDescription. This value is required,
and helps the service perform conditional operations. For example, if there is an 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
value is updated. The service then performs a merge of the old configuration with
the new configuration.public String destinationId()
The ID of the destination.
public S3DestinationUpdate s3DestinationUpdate()
[Deprecated] Describes an update for a destination in Amazon S3.
public ExtendedS3DestinationUpdate extendedS3DestinationUpdate()
Describes an update for a destination in Amazon S3.
public RedshiftDestinationUpdate redshiftDestinationUpdate()
Describes an update for a destination in Amazon Redshift.
public ElasticsearchDestinationUpdate elasticsearchDestinationUpdate()
Describes an update for a destination in Amazon ES.
public SplunkDestinationUpdate splunkDestinationUpdate()
Describes an update for a destination in Splunk.
public UpdateDestinationRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateDestinationRequest.Builder,UpdateDestinationRequest>
toBuilder
in class FirehoseRequest
public static UpdateDestinationRequest.Builder builder()
public static Class<? extends UpdateDestinationRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.