Interface GetStorageLensConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetStorageLensConfigurationResponse.Builder,,GetStorageLensConfigurationResponse> S3ControlResponse.Builder,SdkBuilder<GetStorageLensConfigurationResponse.Builder,,GetStorageLensConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetStorageLensConfigurationResponse
public static interface GetStorageLensConfigurationResponse.Builder
extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<GetStorageLensConfigurationResponse.Builder,GetStorageLensConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionstorageLensConfiguration(Consumer<StorageLensConfiguration.Builder> storageLensConfiguration) The S3 Storage Lens configuration requested.storageLensConfiguration(StorageLensConfiguration storageLensConfiguration) The S3 Storage Lens configuration requested.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
storageLensConfiguration
GetStorageLensConfigurationResponse.Builder storageLensConfiguration(StorageLensConfiguration storageLensConfiguration) The S3 Storage Lens configuration requested.
- Parameters:
storageLensConfiguration- The S3 Storage Lens configuration requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLensConfiguration
default GetStorageLensConfigurationResponse.Builder storageLensConfiguration(Consumer<StorageLensConfiguration.Builder> storageLensConfiguration) The S3 Storage Lens configuration requested.
This is a convenience method that creates an instance of theStorageLensConfiguration.Builderavoiding the need to create one manually viaStorageLensConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageLensConfiguration(StorageLensConfiguration).- Parameters:
storageLensConfiguration- a consumer that will call methods onStorageLensConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-