Interface IntelligentTieringConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<IntelligentTieringConfiguration.Builder,IntelligentTieringConfiguration>
,SdkBuilder<IntelligentTieringConfiguration.Builder,IntelligentTieringConfiguration>
,SdkPojo
- Enclosing class:
- IntelligentTieringConfiguration
public static interface IntelligentTieringConfiguration.Builder extends SdkPojo, CopyableBuilder<IntelligentTieringConfiguration.Builder,IntelligentTieringConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IntelligentTieringConfiguration.Builder
filter(Consumer<IntelligentTieringFilter.Builder> filter)
Specifies a bucket filter.IntelligentTieringConfiguration.Builder
filter(IntelligentTieringFilter filter)
Specifies a bucket filter.IntelligentTieringConfiguration.Builder
id(String id)
The ID used to identify the S3 Intelligent-Tiering configuration.IntelligentTieringConfiguration.Builder
status(String status)
Specifies the status of the configuration.IntelligentTieringConfiguration.Builder
status(IntelligentTieringStatus status)
Specifies the status of the configuration.IntelligentTieringConfiguration.Builder
tierings(Collection<Tiering> tierings)
Specifies the S3 Intelligent-Tiering storage class tier of the configuration.IntelligentTieringConfiguration.Builder
tierings(Consumer<Tiering.Builder>... tierings)
Specifies the S3 Intelligent-Tiering storage class tier of the configuration.IntelligentTieringConfiguration.Builder
tierings(Tiering... tierings)
Specifies the S3 Intelligent-Tiering storage class tier of the 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
IntelligentTieringConfiguration.Builder id(String id)
The ID used to identify the S3 Intelligent-Tiering configuration.
- Parameters:
id
- The ID used to identify the S3 Intelligent-Tiering configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
IntelligentTieringConfiguration.Builder filter(IntelligentTieringFilter filter)
Specifies a bucket filter. The configuration only includes objects that meet the filter's criteria.
- Parameters:
filter
- Specifies a bucket filter. The configuration only includes objects that meet the filter's criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default IntelligentTieringConfiguration.Builder filter(Consumer<IntelligentTieringFilter.Builder> filter)
Specifies a bucket filter. The configuration only includes objects that meet the filter's criteria.
This is a convenience method that creates an instance of theIntelligentTieringFilter.Builder
avoiding the need to create one manually viaIntelligentTieringFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilter(IntelligentTieringFilter)
.- Parameters:
filter
- a consumer that will call methods onIntelligentTieringFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(IntelligentTieringFilter)
-
status
IntelligentTieringConfiguration.Builder status(String status)
Specifies the status of the configuration.
- Parameters:
status
- Specifies the status of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IntelligentTieringStatus
,IntelligentTieringStatus
-
status
IntelligentTieringConfiguration.Builder status(IntelligentTieringStatus status)
Specifies the status of the configuration.
- Parameters:
status
- Specifies the status of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IntelligentTieringStatus
,IntelligentTieringStatus
-
tierings
IntelligentTieringConfiguration.Builder tierings(Collection<Tiering> tierings)
Specifies the S3 Intelligent-Tiering storage class tier of the configuration.
- Parameters:
tierings
- Specifies the S3 Intelligent-Tiering storage class tier of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tierings
IntelligentTieringConfiguration.Builder tierings(Tiering... tierings)
Specifies the S3 Intelligent-Tiering storage class tier of the configuration.
- Parameters:
tierings
- Specifies the S3 Intelligent-Tiering storage class tier of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tierings
IntelligentTieringConfiguration.Builder tierings(Consumer<Tiering.Builder>... tierings)
Specifies the S3 Intelligent-Tiering storage class tier of the configuration.
This is a convenience method that creates an instance of theTiering.Builder
avoiding the need to create one manually viaTiering.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tierings(List
.) - Parameters:
tierings
- a consumer that will call methods onTiering.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tierings(java.util.Collection
)
-
-