Interface GetBucketInventoryConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBucketInventoryConfigurationResponse.Builder,,GetBucketInventoryConfigurationResponse> S3Response.Builder,SdkBuilder<GetBucketInventoryConfigurationResponse.Builder,,GetBucketInventoryConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBucketInventoryConfigurationResponse
public static interface GetBucketInventoryConfigurationResponse.Builder
extends S3Response.Builder, SdkPojo, CopyableBuilder<GetBucketInventoryConfigurationResponse.Builder,GetBucketInventoryConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninventoryConfiguration(Consumer<InventoryConfiguration.Builder> inventoryConfiguration) Specifies the inventory configuration.inventoryConfiguration(InventoryConfiguration inventoryConfiguration) Specifies the inventory configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.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
-
inventoryConfiguration
GetBucketInventoryConfigurationResponse.Builder inventoryConfiguration(InventoryConfiguration inventoryConfiguration) Specifies the inventory configuration.
- Parameters:
inventoryConfiguration- Specifies the inventory configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inventoryConfiguration
default GetBucketInventoryConfigurationResponse.Builder inventoryConfiguration(Consumer<InventoryConfiguration.Builder> inventoryConfiguration) Specifies the inventory configuration.
This is a convenience method that creates an instance of theInventoryConfiguration.Builderavoiding the need to create one manually viaInventoryConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinventoryConfiguration(InventoryConfiguration).- Parameters:
inventoryConfiguration- a consumer that will call methods onInventoryConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-