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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetBucketInventoryConfigurationResponse.Builder
inventoryConfiguration(Consumer<InventoryConfiguration.Builder> inventoryConfiguration)
Specifies the inventory configuration.GetBucketInventoryConfigurationResponse.Builder
inventoryConfiguration(InventoryConfiguration inventoryConfiguration)
Specifies the inventory configuration.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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.Builder
avoiding the need to create one manually viaInventoryConfiguration.builder()
.When the
Consumer
completes,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:
inventoryConfiguration(InventoryConfiguration)
-
-