@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 can choose one of serviceManagedS3
or
customerManagedS3
storage. If not specified, the default is serviceManagedS3
. You cannot
change this storage option 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 AWS IoT Analytics.
|
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 AWS IoT Analytics.
|
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 AWS IoT Analytics.
|
public void setServiceManagedS3(ServiceManagedDatastoreS3Storage serviceManagedS3)
Use this to store data store data in an S3 bucket managed by AWS IoT Analytics. You cannot change the choice of service-managed or customer-managed S3 storage after the data store is created.
serviceManagedS3
- Use this to store data store data in an S3 bucket managed by AWS IoT Analytics. You cannot change the
choice of service-managed or customer-managed S3 storage after the data store is created.public ServiceManagedDatastoreS3Storage getServiceManagedS3()
Use this to store data store data in an S3 bucket managed by AWS IoT Analytics. You cannot change the choice of service-managed or customer-managed S3 storage after the data store is created.
public DatastoreStorage withServiceManagedS3(ServiceManagedDatastoreS3Storage serviceManagedS3)
Use this to store data store data in an S3 bucket managed by AWS IoT Analytics. You cannot change the choice of service-managed or customer-managed S3 storage after the data store is created.
serviceManagedS3
- Use this to store data store data in an S3 bucket managed by AWS IoT Analytics. You cannot change the
choice of service-managed or customer-managed S3 storage after the data store is created.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.
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.