Class CfnDatastorePropsMixin.DatastoreStorageProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotanalytics.CfnDatastorePropsMixin.DatastoreStorageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatastorePropsMixin.DatastoreStorageProperty>
- Enclosing interface:
CfnDatastorePropsMixin.DatastoreStorageProperty
@Stability(Stable)
public static final class CfnDatastorePropsMixin.DatastoreStorageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatastorePropsMixin.DatastoreStorageProperty>
A builder for
CfnDatastorePropsMixin.DatastoreStorageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customerManagedS3(CfnDatastorePropsMixin.CustomerManagedS3Property customerManagedS3) Sets the value ofCfnDatastorePropsMixin.DatastoreStorageProperty.getCustomerManagedS3()customerManagedS3(IResolvable customerManagedS3) Sets the value ofCfnDatastorePropsMixin.DatastoreStorageProperty.getCustomerManagedS3()iotSiteWiseMultiLayerStorage(CfnDatastorePropsMixin.IotSiteWiseMultiLayerStorageProperty iotSiteWiseMultiLayerStorage) iotSiteWiseMultiLayerStorage(IResolvable iotSiteWiseMultiLayerStorage) serviceManagedS3(Object serviceManagedS3) Sets the value ofCfnDatastorePropsMixin.DatastoreStorageProperty.getServiceManagedS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerManagedS3
@Stability(Stable) public CfnDatastorePropsMixin.DatastoreStorageProperty.Builder customerManagedS3(IResolvable customerManagedS3) Sets the value ofCfnDatastorePropsMixin.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 CfnDatastorePropsMixin.DatastoreStorageProperty.Builder customerManagedS3(CfnDatastorePropsMixin.CustomerManagedS3Property customerManagedS3) Sets the value ofCfnDatastorePropsMixin.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 CfnDatastorePropsMixin.DatastoreStorageProperty.Builder iotSiteWiseMultiLayerStorage(IResolvable iotSiteWiseMultiLayerStorage) - 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 CfnDatastorePropsMixin.DatastoreStorageProperty.Builder iotSiteWiseMultiLayerStorage(CfnDatastorePropsMixin.IotSiteWiseMultiLayerStorageProperty iotSiteWiseMultiLayerStorage) - 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 CfnDatastorePropsMixin.DatastoreStorageProperty.Builder serviceManagedS3(Object serviceManagedS3) Sets the value ofCfnDatastorePropsMixin.DatastoreStorageProperty.getServiceManagedS3()- Parameters:
serviceManagedS3- Use this to store data store data in an S3 bucket managed by the 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatastorePropsMixin.DatastoreStorageProperty>- Returns:
- a new instance of
CfnDatastorePropsMixin.DatastoreStorageProperty - Throws:
NullPointerException- if any required attribute was not provided
-