@Generated(value="software.amazon.awssdk:codegen") public final class UpdateDatasetRequest extends IoTAnalyticsRequest implements ToCopyableBuilder<UpdateDatasetRequest.Builder,UpdateDatasetRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateDatasetRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<DatasetAction> |
actions()
A list of
DatasetAction objects. |
static UpdateDatasetRequest.Builder |
builder() |
List<DatasetContentDeliveryRule> |
contentDeliveryRules()
When dataset contents are created, they are delivered to destinations specified here.
|
String |
datasetName()
The name of the dataset to update.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasActions()
For responses, this returns true if the service returned a value for the Actions property.
|
boolean |
hasContentDeliveryRules()
For responses, this returns true if the service returned a value for the ContentDeliveryRules property.
|
int |
hashCode() |
boolean |
hasLateDataRules()
For responses, this returns true if the service returned a value for the LateDataRules property.
|
boolean |
hasTriggers()
For responses, this returns true if the service returned a value for the Triggers property.
|
List<LateDataRule> |
lateDataRules()
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
RetentionPeriod |
retentionPeriod()
How long, in days, dataset contents are kept for the dataset.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateDatasetRequest.Builder> |
serializableBuilderClass() |
UpdateDatasetRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<DatasetTrigger> |
triggers()
A list of
DatasetTrigger objects. |
VersioningConfiguration |
versioningConfiguration()
Optional.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String datasetName()
The name of the dataset to update.
public final boolean hasActions()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<DatasetAction> actions()
A list of DatasetAction objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasActions() method.
DatasetAction objects.public final boolean hasTriggers()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<DatasetTrigger> triggers()
A list of DatasetTrigger objects. The list can be empty or can contain up to five
DatasetTrigger objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTriggers() method.
DatasetTrigger objects. The list can be empty or can contain up to five
DatasetTrigger objects.public final boolean hasContentDeliveryRules()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<DatasetContentDeliveryRule> contentDeliveryRules()
When dataset contents are created, they are delivered to destinations specified here.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasContentDeliveryRules() method.
public final RetentionPeriod retentionPeriod()
How long, in days, dataset contents are kept for the dataset.
public final VersioningConfiguration versioningConfiguration()
Optional. How many versions of dataset contents are kept. If not specified or set to null, only the latest
version plus the latest succeeded version (if they are different) are kept for the time period specified by the
retentionPeriod parameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.
retentionPeriod parameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.public final boolean hasLateDataRules()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<LateDataRule> lateDataRules()
A list of data rules that send notifications to CloudWatch, when data arrives late. To specify
lateDataRules, the dataset must use a DeltaTimer filter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLateDataRules() method.
lateDataRules, the dataset must use a DeltaTimer
filter.public UpdateDatasetRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateDatasetRequest.Builder,UpdateDatasetRequest>toBuilder in class IoTAnalyticsRequestpublic static UpdateDatasetRequest.Builder builder()
public static Class<? extends UpdateDatasetRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.