Interface StorageLensConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StorageLensConfiguration.Builder,StorageLensConfiguration>,SdkBuilder<StorageLensConfiguration.Builder,StorageLensConfiguration>,SdkPojo
- Enclosing class:
- StorageLensConfiguration
public static interface StorageLensConfiguration.Builder extends SdkPojo, CopyableBuilder<StorageLensConfiguration.Builder,StorageLensConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StorageLensConfiguration.BuilderaccountLevel(Consumer<AccountLevel.Builder> accountLevel)A container for all the account-level configurations of your S3 Storage Lens configuration.StorageLensConfiguration.BuilderaccountLevel(AccountLevel accountLevel)A container for all the account-level configurations of your S3 Storage Lens configuration.default StorageLensConfiguration.BuilderawsOrg(Consumer<StorageLensAwsOrg.Builder> awsOrg)A container for the Amazon Web Services organization for this S3 Storage Lens configuration.StorageLensConfiguration.BuilderawsOrg(StorageLensAwsOrg awsOrg)A container for the Amazon Web Services organization for this S3 Storage Lens configuration.default StorageLensConfiguration.BuilderdataExport(Consumer<StorageLensDataExport.Builder> dataExport)A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.StorageLensConfiguration.BuilderdataExport(StorageLensDataExport dataExport)A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.default StorageLensConfiguration.Builderexclude(Consumer<Exclude.Builder> exclude)A container for what is excluded in this configuration.StorageLensConfiguration.Builderexclude(Exclude exclude)A container for what is excluded in this configuration.StorageLensConfiguration.Builderid(String id)A container for the Amazon S3 Storage Lens configuration ID.default StorageLensConfiguration.Builderinclude(Consumer<Include.Builder> include)A container for what is included in this configuration.StorageLensConfiguration.Builderinclude(Include include)A container for what is included in this configuration.StorageLensConfiguration.BuilderisEnabled(Boolean isEnabled)A container for whether the S3 Storage Lens configuration is enabled.StorageLensConfiguration.BuilderstorageLensArn(String storageLensArn)The Amazon Resource Name (ARN) of the S3 Storage Lens configuration.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
StorageLensConfiguration.Builder id(String id)
A container for the Amazon S3 Storage Lens configuration ID.
- Parameters:
id- A container for the Amazon S3 Storage Lens configuration ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountLevel
StorageLensConfiguration.Builder accountLevel(AccountLevel accountLevel)
A container for all the account-level configurations of your S3 Storage Lens configuration.
- Parameters:
accountLevel- A container for all the account-level configurations of your S3 Storage Lens configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountLevel
default StorageLensConfiguration.Builder accountLevel(Consumer<AccountLevel.Builder> accountLevel)
A container for all the account-level configurations of your S3 Storage Lens configuration.
This is a convenience method that creates an instance of theAccountLevel.Builderavoiding the need to create one manually viaAccountLevel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountLevel(AccountLevel).- Parameters:
accountLevel- a consumer that will call methods onAccountLevel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accountLevel(AccountLevel)
-
include
StorageLensConfiguration.Builder include(Include include)
A container for what is included in this configuration. This container can only be valid if there is no
Excludecontainer submitted, and it's not empty.- Parameters:
include- A container for what is included in this configuration. This container can only be valid if there is noExcludecontainer submitted, and it's not empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
include
default StorageLensConfiguration.Builder include(Consumer<Include.Builder> include)
A container for what is included in this configuration. This container can only be valid if there is no
This is a convenience method that creates an instance of theExcludecontainer submitted, and it's not empty.Include.Builderavoiding the need to create one manually viaInclude.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinclude(Include).- Parameters:
include- a consumer that will call methods onInclude.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
include(Include)
-
exclude
StorageLensConfiguration.Builder exclude(Exclude exclude)
A container for what is excluded in this configuration. This container can only be valid if there is no
Includecontainer submitted, and it's not empty.- Parameters:
exclude- A container for what is excluded in this configuration. This container can only be valid if there is noIncludecontainer submitted, and it's not empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclude
default StorageLensConfiguration.Builder exclude(Consumer<Exclude.Builder> exclude)
A container for what is excluded in this configuration. This container can only be valid if there is no
This is a convenience method that creates an instance of theIncludecontainer submitted, and it's not empty.Exclude.Builderavoiding the need to create one manually viaExclude.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexclude(Exclude).- Parameters:
exclude- a consumer that will call methods onExclude.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
exclude(Exclude)
-
dataExport
StorageLensConfiguration.Builder dataExport(StorageLensDataExport dataExport)
A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.
- Parameters:
dataExport- A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataExport
default StorageLensConfiguration.Builder dataExport(Consumer<StorageLensDataExport.Builder> dataExport)
A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.
This is a convenience method that creates an instance of theStorageLensDataExport.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:
dataExport(StorageLensDataExport)
-
isEnabled
StorageLensConfiguration.Builder isEnabled(Boolean isEnabled)
A container for whether the S3 Storage Lens configuration is enabled.
- Parameters:
isEnabled- A container for whether the S3 Storage Lens configuration is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsOrg
StorageLensConfiguration.Builder awsOrg(StorageLensAwsOrg awsOrg)
A container for the Amazon Web Services organization for this S3 Storage Lens configuration.
- Parameters:
awsOrg- A container for the Amazon Web Services organization for this S3 Storage Lens configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsOrg
default StorageLensConfiguration.Builder awsOrg(Consumer<StorageLensAwsOrg.Builder> awsOrg)
A container for the Amazon Web Services organization for this S3 Storage Lens configuration.
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:
awsOrg(StorageLensAwsOrg)
-
storageLensArn
StorageLensConfiguration.Builder storageLensArn(String storageLensArn)
The Amazon Resource Name (ARN) of the S3 Storage Lens configuration. This property is read-only and follows the following format:
arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name- Parameters:
storageLensArn- The Amazon Resource Name (ARN) of the S3 Storage Lens configuration. This property is read-only and follows the following format:arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-