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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetSnapshotLimitsResponse.BuildersnapshotLimits(Consumer<SnapshotLimits.Builder> snapshotLimits)A SnapshotLimits object that contains the manual snapshot limits for the specified directory.GetSnapshotLimitsResponse.BuildersnapshotLimits(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
snapshotLimits
GetSnapshotLimitsResponse.Builder snapshotLimits(SnapshotLimits 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:
snapshotLimits(SnapshotLimits)
-
-