Interface StorageLensConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StorageLensConfiguration.Builder,,StorageLensConfiguration> SdkBuilder<StorageLensConfiguration.Builder,,StorageLensConfiguration> SdkPojo
- Enclosing class:
StorageLensConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionadvancedMetricsCategories(Collection<StorageLensMetricsCategoryType> advancedMetricsCategories) The metrics categories that S3 Storage Lens collects advanced metrics for.advancedMetricsCategories(StorageLensMetricsCategoryType... advancedMetricsCategories) The metrics categories that S3 Storage Lens collects advanced metrics for.advancedMetricsCategoriesWithStrings(String... advancedMetricsCategories) The metrics categories that S3 Storage Lens collects advanced metrics for.advancedMetricsCategoriesWithStrings(Collection<String> advancedMetricsCategories) The metrics categories that S3 Storage Lens collects advanced metrics for.default StorageLensConfiguration.BuilderawsOrg(Consumer<StorageLensAwsOrg.Builder> awsOrg) The Amazon Web Services organization for an organization-level configuration.awsOrg(StorageLensAwsOrg awsOrg) The Amazon Web Services organization for an organization-level configuration.default StorageLensConfiguration.BuilderdataExport(Consumer<StorageLensDataExport.Builder> dataExport) The properties of your S3 Storage Lens metrics export, including the destinations, schema, and format.dataExport(StorageLensDataExport dataExport) The properties of your S3 Storage Lens metrics export, including the destinations, schema, and format.default StorageLensConfiguration.Builderexclude(Consumer<StorageLensScope.Builder> exclude) The table buckets and Regions to exclude from the configuration.exclude(StorageLensScope exclude) The table buckets and Regions to exclude from the configuration.The ID of the S3 Storage Lens configuration.default StorageLensConfiguration.Builderinclude(Consumer<StorageLensScope.Builder> include) The table buckets and Regions to include in the configuration.include(StorageLensScope include) The table buckets and Regions to include in the configuration.Specifies whether the S3 Storage Lens configuration is enabled.storageLensArn(String storageLensArn) The Amazon Resource Name (ARN) of the S3 Storage Lens configuration, such asarn:aws:s3tables:us-east-1:111122223333:storage-lens/example-configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The ID of the S3 Storage Lens configuration. In a
PutStorageLensConfigurationrequest, it must matchstorageLensId.- Parameters:
id- The ID of the S3 Storage Lens configuration. In aPutStorageLensConfigurationrequest, it must matchstorageLensId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedMetricsCategoriesWithStrings
StorageLensConfiguration.Builder advancedMetricsCategoriesWithStrings(Collection<String> advancedMetricsCategories) The metrics categories that S3 Storage Lens collects advanced metrics for. Every configuration includes the basic storage metrics. Advanced metrics are optional and incur charges. To collect only the basic storage metrics, specify an empty list. Each category can appear in the list only once. Valid values:
-
StorageMetrics- How much data your tables store, such as meterable bytes and file counts by Apache Iceberg file type (data files, delete files, metadata files, and manifest files), and each table's maintenance settings. Specify this category to collect the advanced storage metrics in addition to the basic storage metrics. -
ActivityMetrics- How your tables are accessed, such as request counts by request type, bytes uploaded and downloaded, error counts by status code, and request latency. -
MaintenanceMetrics- What managed table maintenance did, such as the outcomes of compaction, unreferenced file removal, and snapshot expiration, including the files that each operation removed and any errors that occurred.
- Parameters:
advancedMetricsCategories- The metrics categories that S3 Storage Lens collects advanced metrics for. Every configuration includes the basic storage metrics. Advanced metrics are optional and incur charges. To collect only the basic storage metrics, specify an empty list. Each category can appear in the list only once. Valid values:-
StorageMetrics- How much data your tables store, such as meterable bytes and file counts by Apache Iceberg file type (data files, delete files, metadata files, and manifest files), and each table's maintenance settings. Specify this category to collect the advanced storage metrics in addition to the basic storage metrics. -
ActivityMetrics- How your tables are accessed, such as request counts by request type, bytes uploaded and downloaded, error counts by status code, and request latency. -
MaintenanceMetrics- What managed table maintenance did, such as the outcomes of compaction, unreferenced file removal, and snapshot expiration, including the files that each operation removed and any errors that occurred.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
advancedMetricsCategoriesWithStrings
StorageLensConfiguration.Builder advancedMetricsCategoriesWithStrings(String... advancedMetricsCategories) The metrics categories that S3 Storage Lens collects advanced metrics for. Every configuration includes the basic storage metrics. Advanced metrics are optional and incur charges. To collect only the basic storage metrics, specify an empty list. Each category can appear in the list only once. Valid values:
-
StorageMetrics- How much data your tables store, such as meterable bytes and file counts by Apache Iceberg file type (data files, delete files, metadata files, and manifest files), and each table's maintenance settings. Specify this category to collect the advanced storage metrics in addition to the basic storage metrics. -
ActivityMetrics- How your tables are accessed, such as request counts by request type, bytes uploaded and downloaded, error counts by status code, and request latency. -
MaintenanceMetrics- What managed table maintenance did, such as the outcomes of compaction, unreferenced file removal, and snapshot expiration, including the files that each operation removed and any errors that occurred.
- Parameters:
advancedMetricsCategories- The metrics categories that S3 Storage Lens collects advanced metrics for. Every configuration includes the basic storage metrics. Advanced metrics are optional and incur charges. To collect only the basic storage metrics, specify an empty list. Each category can appear in the list only once. Valid values:-
StorageMetrics- How much data your tables store, such as meterable bytes and file counts by Apache Iceberg file type (data files, delete files, metadata files, and manifest files), and each table's maintenance settings. Specify this category to collect the advanced storage metrics in addition to the basic storage metrics. -
ActivityMetrics- How your tables are accessed, such as request counts by request type, bytes uploaded and downloaded, error counts by status code, and request latency. -
MaintenanceMetrics- What managed table maintenance did, such as the outcomes of compaction, unreferenced file removal, and snapshot expiration, including the files that each operation removed and any errors that occurred.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
advancedMetricsCategories
StorageLensConfiguration.Builder advancedMetricsCategories(Collection<StorageLensMetricsCategoryType> advancedMetricsCategories) The metrics categories that S3 Storage Lens collects advanced metrics for. Every configuration includes the basic storage metrics. Advanced metrics are optional and incur charges. To collect only the basic storage metrics, specify an empty list. Each category can appear in the list only once. Valid values:
-
StorageMetrics- How much data your tables store, such as meterable bytes and file counts by Apache Iceberg file type (data files, delete files, metadata files, and manifest files), and each table's maintenance settings. Specify this category to collect the advanced storage metrics in addition to the basic storage metrics. -
ActivityMetrics- How your tables are accessed, such as request counts by request type, bytes uploaded and downloaded, error counts by status code, and request latency. -
MaintenanceMetrics- What managed table maintenance did, such as the outcomes of compaction, unreferenced file removal, and snapshot expiration, including the files that each operation removed and any errors that occurred.
- Parameters:
advancedMetricsCategories- The metrics categories that S3 Storage Lens collects advanced metrics for. Every configuration includes the basic storage metrics. Advanced metrics are optional and incur charges. To collect only the basic storage metrics, specify an empty list. Each category can appear in the list only once. Valid values:-
StorageMetrics- How much data your tables store, such as meterable bytes and file counts by Apache Iceberg file type (data files, delete files, metadata files, and manifest files), and each table's maintenance settings. Specify this category to collect the advanced storage metrics in addition to the basic storage metrics. -
ActivityMetrics- How your tables are accessed, such as request counts by request type, bytes uploaded and downloaded, error counts by status code, and request latency. -
MaintenanceMetrics- What managed table maintenance did, such as the outcomes of compaction, unreferenced file removal, and snapshot expiration, including the files that each operation removed and any errors that occurred.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
advancedMetricsCategories
StorageLensConfiguration.Builder advancedMetricsCategories(StorageLensMetricsCategoryType... advancedMetricsCategories) The metrics categories that S3 Storage Lens collects advanced metrics for. Every configuration includes the basic storage metrics. Advanced metrics are optional and incur charges. To collect only the basic storage metrics, specify an empty list. Each category can appear in the list only once. Valid values:
-
StorageMetrics- How much data your tables store, such as meterable bytes and file counts by Apache Iceberg file type (data files, delete files, metadata files, and manifest files), and each table's maintenance settings. Specify this category to collect the advanced storage metrics in addition to the basic storage metrics. -
ActivityMetrics- How your tables are accessed, such as request counts by request type, bytes uploaded and downloaded, error counts by status code, and request latency. -
MaintenanceMetrics- What managed table maintenance did, such as the outcomes of compaction, unreferenced file removal, and snapshot expiration, including the files that each operation removed and any errors that occurred.
- Parameters:
advancedMetricsCategories- The metrics categories that S3 Storage Lens collects advanced metrics for. Every configuration includes the basic storage metrics. Advanced metrics are optional and incur charges. To collect only the basic storage metrics, specify an empty list. Each category can appear in the list only once. Valid values:-
StorageMetrics- How much data your tables store, such as meterable bytes and file counts by Apache Iceberg file type (data files, delete files, metadata files, and manifest files), and each table's maintenance settings. Specify this category to collect the advanced storage metrics in addition to the basic storage metrics. -
ActivityMetrics- How your tables are accessed, such as request counts by request type, bytes uploaded and downloaded, error counts by status code, and request latency. -
MaintenanceMetrics- What managed table maintenance did, such as the outcomes of compaction, unreferenced file removal, and snapshot expiration, including the files that each operation removed and any errors that occurred.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
include
The table buckets and Regions to include in the configuration. You can specify
includeorexclude, but not both. If you specifyinclude, it must contain at least one table bucket or Region.- Parameters:
include- The table buckets and Regions to include in the configuration. You can specifyincludeorexclude, but not both. If you specifyinclude, it must contain at least one table bucket or Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
include
The table buckets and Regions to include in the configuration. You can specify
This is a convenience method that creates an instance of theincludeorexclude, but not both. If you specifyinclude, it must contain at least one table bucket or Region.StorageLensScope.Builderavoiding the need to create one manually viaStorageLensScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinclude(StorageLensScope).- Parameters:
include- a consumer that will call methods onStorageLensScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exclude
The table buckets and Regions to exclude from the configuration. You can specify
includeorexclude, but not both. If you specifyexclude, it must contain at least one table bucket or Region.- Parameters:
exclude- The table buckets and Regions to exclude from the configuration. You can specifyincludeorexclude, but not both. If you specifyexclude, it must contain at least one table bucket or Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclude
The table buckets and Regions to exclude from the configuration. You can specify
This is a convenience method that creates an instance of theincludeorexclude, but not both. If you specifyexclude, it must contain at least one table bucket or Region.StorageLensScope.Builderavoiding the need to create one manually viaStorageLensScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexclude(StorageLensScope).- Parameters:
exclude- a consumer that will call methods onStorageLensScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataExport
The properties of your S3 Storage Lens metrics export, including the destinations, schema, and format. If you specify
dataExport, you must specify at least one destination.- Parameters:
dataExport- The properties of your S3 Storage Lens metrics export, including the destinations, schema, and format. If you specifydataExport, you must specify at least one destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataExport
default StorageLensConfiguration.Builder dataExport(Consumer<StorageLensDataExport.Builder> dataExport) The properties of your S3 Storage Lens metrics export, including the destinations, schema, and format. If you specify
This is a convenience method that creates an instance of thedataExport, you must specify at least one destination.StorageLensDataExport.Builderavoiding the need to create one manually viaStorageLensDataExport.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataExport(StorageLensDataExport).- Parameters:
dataExport- a consumer that will call methods onStorageLensDataExport.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isEnabled
Specifies whether the S3 Storage Lens configuration is enabled.
- Parameters:
isEnabled- Specifies whether the S3 Storage Lens configuration is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsOrg
The Amazon Web Services organization for an organization-level configuration. To create an organization-level configuration, you must send the request from the organization's management account or from a delegated administrator account for S3 Storage Lens, and trusted access for S3 Storage Lens must be enabled in Amazon Web Services Organizations. An organization-level configuration can't include or exclude specific table buckets.
- Parameters:
awsOrg- The Amazon Web Services organization for an organization-level configuration. To create an organization-level configuration, you must send the request from the organization's management account or from a delegated administrator account for S3 Storage Lens, and trusted access for S3 Storage Lens must be enabled in Amazon Web Services Organizations. An organization-level configuration can't include or exclude specific table buckets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsOrg
The Amazon Web Services organization for an organization-level configuration. To create an organization-level configuration, you must send the request from the organization's management account or from a delegated administrator account for S3 Storage Lens, and trusted access for S3 Storage Lens must be enabled in Amazon Web Services Organizations. An organization-level configuration can't include or exclude specific table buckets.
This is a convenience method that creates an instance of theStorageLensAwsOrg.Builderavoiding the need to create one manually viaStorageLensAwsOrg.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsOrg(StorageLensAwsOrg).- Parameters:
awsOrg- a consumer that will call methods onStorageLensAwsOrg.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageLensArn
The Amazon Resource Name (ARN) of the S3 Storage Lens configuration, such as
arn:aws:s3tables:us-east-1:111122223333:storage-lens/example-configuration. This property is read-only. S3 Storage Lens ignores it in aPutStorageLensConfigurationrequest.- Parameters:
storageLensArn- The Amazon Resource Name (ARN) of the S3 Storage Lens configuration, such asarn:aws:s3tables:us-east-1:111122223333:storage-lens/example-configuration. This property is read-only. S3 Storage Lens ignores it in aPutStorageLensConfigurationrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-