Interface GetSnapshotLimitsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSnapshotLimitsResponse.Builder,,GetSnapshotLimitsResponse> DirectoryResponse.Builder,SdkBuilder<GetSnapshotLimitsResponse.Builder,,GetSnapshotLimitsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSnapshotLimitsResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaSnapshotLimits.builder().When the
Consumercompletes,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:
-