Class CfnDatastore.DatastoreStorageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDatastore.DatastoreStorageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatastore.DatastoreStorageProperty>
- Enclosing interface:
CfnDatastore.DatastoreStorageProperty
@Stability(Stable)
public static final class CfnDatastore.DatastoreStorageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatastore.DatastoreStorageProperty>
A builder for
CfnDatastore.DatastoreStorageProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customerManagedS3
(IResolvable customerManagedS3) Sets the value ofCfnDatastore.DatastoreStorageProperty.getCustomerManagedS3()
customerManagedS3
(CfnDatastore.CustomerManagedS3Property customerManagedS3) Sets the value ofCfnDatastore.DatastoreStorageProperty.getCustomerManagedS3()
iotSiteWiseMultiLayerStorage
(IResolvable iotSiteWiseMultiLayerStorage) Sets the value ofCfnDatastore.DatastoreStorageProperty.getIotSiteWiseMultiLayerStorage()
iotSiteWiseMultiLayerStorage
(CfnDatastore.IotSiteWiseMultiLayerStorageProperty iotSiteWiseMultiLayerStorage) Sets the value ofCfnDatastore.DatastoreStorageProperty.getIotSiteWiseMultiLayerStorage()
serviceManagedS3
(Object serviceManagedS3) Sets the value ofCfnDatastore.DatastoreStorageProperty.getServiceManagedS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerManagedS3
@Stability(Stable) public CfnDatastore.DatastoreStorageProperty.Builder customerManagedS3(IResolvable customerManagedS3) Sets the value ofCfnDatastore.DatastoreStorageProperty.getCustomerManagedS3()
- Parameters:
customerManagedS3
- Use this to store data store data in an S3 bucket that you manage. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.- Returns:
this
-
customerManagedS3
@Stability(Stable) public CfnDatastore.DatastoreStorageProperty.Builder customerManagedS3(CfnDatastore.CustomerManagedS3Property customerManagedS3) Sets the value ofCfnDatastore.DatastoreStorageProperty.getCustomerManagedS3()
- Parameters:
customerManagedS3
- Use this to store data store data in an S3 bucket that you manage. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.- Returns:
this
-
iotSiteWiseMultiLayerStorage
@Stability(Stable) public CfnDatastore.DatastoreStorageProperty.Builder iotSiteWiseMultiLayerStorage(IResolvable iotSiteWiseMultiLayerStorage) Sets the value ofCfnDatastore.DatastoreStorageProperty.getIotSiteWiseMultiLayerStorage()
- Parameters:
iotSiteWiseMultiLayerStorage
- Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.- Returns:
this
-
iotSiteWiseMultiLayerStorage
@Stability(Stable) public CfnDatastore.DatastoreStorageProperty.Builder iotSiteWiseMultiLayerStorage(CfnDatastore.IotSiteWiseMultiLayerStorageProperty iotSiteWiseMultiLayerStorage) Sets the value ofCfnDatastore.DatastoreStorageProperty.getIotSiteWiseMultiLayerStorage()
- Parameters:
iotSiteWiseMultiLayerStorage
- Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.- Returns:
this
-
serviceManagedS3
@Stability(Stable) public CfnDatastore.DatastoreStorageProperty.Builder serviceManagedS3(Object serviceManagedS3) Sets the value ofCfnDatastore.DatastoreStorageProperty.getServiceManagedS3()
- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDatastore.DatastoreStorageProperty>
- Returns:
- a new instance of
CfnDatastore.DatastoreStorageProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-