@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatastoreStorage extends Object implements Serializable, Cloneable, StructuredPojo
Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after the data store is created.
Constructor and Description |
---|
DatastoreStorage() |
Modifier and Type | Method and Description |
---|---|
DatastoreStorage |
clone() |
boolean |
equals(Object obj) |
CustomerManagedDatastoreS3Storage |
getCustomerManagedS3()
Use this to store data store data in an S3 bucket that you manage.
|
ServiceManagedDatastoreS3Storage |
getServiceManagedS3()
Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomerManagedS3(CustomerManagedDatastoreS3Storage customerManagedS3)
Use this to store data store data in an S3 bucket that you manage.
|
void |
setServiceManagedS3(ServiceManagedDatastoreS3Storage serviceManagedS3)
Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service.
|
String |
toString()
Returns a string representation of this object.
|
DatastoreStorage |
withCustomerManagedS3(CustomerManagedDatastoreS3Storage customerManagedS3)
Use this to store data store data in an S3 bucket that you manage.
|
DatastoreStorage |
withServiceManagedS3(ServiceManagedDatastoreS3Storage serviceManagedS3)
Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service.
|
public void setServiceManagedS3(ServiceManagedDatastoreS3Storage serviceManagedS3)
Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
serviceManagedS3
- Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of
service-managed or customer-managed S3 storage cannot be changed after creation of the data store.public ServiceManagedDatastoreS3Storage getServiceManagedS3()
Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
public DatastoreStorage withServiceManagedS3(ServiceManagedDatastoreS3Storage serviceManagedS3)
Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
serviceManagedS3
- Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of
service-managed or customer-managed S3 storage cannot be changed after creation of the data store.public void setCustomerManagedS3(CustomerManagedDatastoreS3Storage customerManagedS3)
Use this to store data store data in an S3 bucket that you manage. When customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
customerManagedS3
- Use this to store data store data in an S3 bucket that you manage. When customer managed storage is
selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3
storage cannot be changed after creation of the data store.public CustomerManagedDatastoreS3Storage getCustomerManagedS3()
Use this to store data store data in an S3 bucket that you manage. When customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
public DatastoreStorage withCustomerManagedS3(CustomerManagedDatastoreS3Storage customerManagedS3)
Use this to store data store data in an S3 bucket that you manage. When customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
customerManagedS3
- Use this to store data store data in an S3 bucket that you manage. When customer managed storage is
selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3
storage cannot be changed after creation of the data store.public String toString()
toString
in class Object
Object.toString()
public DatastoreStorage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.