Class UpdateDatastoreRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsRequest
-
- software.amazon.awssdk.services.iotanalytics.model.UpdateDatastoreRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateDatastoreRequest.Builder,UpdateDatastoreRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateDatastoreRequest extends IoTAnalyticsRequest implements ToCopyableBuilder<UpdateDatastoreRequest.Builder,UpdateDatastoreRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateDatastoreRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateDatastoreRequest.Builderbuilder()StringdatastoreName()The name of the data store to be updated.DatastoreStoragedatastoreStorage()Where data in a data store is stored..booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FileFormatConfigurationfileFormatConfiguration()Contains the configuration information of file formats.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RetentionPeriodretentionPeriod()How long, in days, message data is kept for the data store.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateDatastoreRequest.Builder>serializableBuilderClass()UpdateDatastoreRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
datastoreName
public final String datastoreName()
The name of the data store to be updated.
- Returns:
- The name of the data store to be updated.
-
retentionPeriod
public final RetentionPeriod retentionPeriod()
How long, in days, message data is kept for the data store. The retention period can't be updated if the data store's Amazon S3 storage is customer-managed.
- Returns:
- How long, in days, message data is kept for the data store. The retention period can't be updated if the data store's Amazon S3 storage is customer-managed.
-
datastoreStorage
public final DatastoreStorage datastoreStorage()
Where data in a data store is stored.. You can choose
serviceManagedS3storage,customerManagedS3storage, oriotSiteWiseMultiLayerStoragestorage. The default isserviceManagedS3. You can't change the choice of Amazon S3 storage after your data store is created.- Returns:
- Where data in a data store is stored.. You can choose
serviceManagedS3storage,customerManagedS3storage, oriotSiteWiseMultiLayerStoragestorage. The default isserviceManagedS3. You can't change the choice of Amazon S3 storage after your data store is created.
-
fileFormatConfiguration
public final FileFormatConfiguration fileFormatConfiguration()
Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
- Returns:
- Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
-
toBuilder
public UpdateDatastoreRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateDatastoreRequest.Builder,UpdateDatastoreRequest>- Specified by:
toBuilderin classIoTAnalyticsRequest
-
builder
public static UpdateDatastoreRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateDatastoreRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-