public static interface GetSnapshotLimitsResponse.Builder extends DirectoryResponse.Builder, CopyableBuilder<GetSnapshotLimitsResponse.Builder,GetSnapshotLimitsResponse>
Modifier and Type | Method and Description |
---|---|
default GetSnapshotLimitsResponse.Builder |
snapshotLimits(Consumer<SnapshotLimits.Builder> snapshotLimits)
A SnapshotLimits object that contains the manual snapshot limits for the specified directory.
|
GetSnapshotLimitsResponse.Builder |
snapshotLimits(SnapshotLimits snapshotLimits)
A SnapshotLimits object that contains the manual snapshot limits for the specified directory.
|
build
copy
apply, build
GetSnapshotLimitsResponse.Builder snapshotLimits(SnapshotLimits snapshotLimits)
A SnapshotLimits object that contains the manual snapshot limits for the specified directory.
snapshotLimits
- A SnapshotLimits object that contains the manual snapshot limits for the specified directory.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 that creates an instance of theSnapshotLimits.Builder
avoiding the need to
create one manually via SnapshotLimits.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to snapshotLimits(SnapshotLimits)
.snapshotLimits
- a consumer that will call methods on SnapshotLimits.Builder
snapshotLimits(SnapshotLimits)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.