Interface GetSnapshotLimitsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSnapshotLimitsResponse.Builder,
,GetSnapshotLimitsResponse> DirectoryResponse.Builder
,SdkBuilder<GetSnapshotLimitsResponse.Builder,
,GetSnapshotLimitsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSnapshotLimitsResponse
public static interface GetSnapshotLimitsResponse.Builder
extends DirectoryResponse.Builder, SdkPojo, CopyableBuilder<GetSnapshotLimitsResponse.Builder,GetSnapshotLimitsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsnapshotLimits
(Consumer<SnapshotLimits.Builder> snapshotLimits) A SnapshotLimits object that contains the manual snapshot limits for the specified directory.snapshotLimits
(SnapshotLimits snapshotLimits) A SnapshotLimits object that contains the manual snapshot limits for the specified directory.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
snapshotLimits
A SnapshotLimits object that contains the manual snapshot limits for the specified directory.
- Parameters:
snapshotLimits
- A SnapshotLimits object that contains the manual snapshot limits for the specified directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotLimits
default GetSnapshotLimitsResponse.Builder snapshotLimits(Consumer<SnapshotLimits.Builder> snapshotLimits) A SnapshotLimits object that contains the manual snapshot limits for the specified directory.
This is a convenience method that creates an instance of theSnapshotLimits.Builder
avoiding the need to create one manually viaSnapshotLimits.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnapshotLimits(SnapshotLimits)
.- Parameters:
snapshotLimits
- a consumer that will call methods onSnapshotLimits.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-