public static interface GetAutoSnapshotsResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetAutoSnapshotsResponse.Builder,GetAutoSnapshotsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetAutoSnapshotsResponse.Builder |
autoSnapshots(AutoSnapshotDetails... autoSnapshots)
An array of objects that describe the automatic snapshots that are available for the specified source
instance or disk.
|
GetAutoSnapshotsResponse.Builder |
autoSnapshots(Collection<AutoSnapshotDetails> autoSnapshots)
An array of objects that describe the automatic snapshots that are available for the specified source
instance or disk.
|
GetAutoSnapshotsResponse.Builder |
autoSnapshots(Consumer<AutoSnapshotDetails.Builder>... autoSnapshots)
An array of objects that describe the automatic snapshots that are available for the specified source
instance or disk.
|
GetAutoSnapshotsResponse.Builder |
resourceName(String resourceName)
The name of the source instance or disk for the automatic snapshots.
|
GetAutoSnapshotsResponse.Builder |
resourceType(ResourceType resourceType)
The resource type (e.g.,
Instance or Disk). |
GetAutoSnapshotsResponse.Builder |
resourceType(String resourceType)
The resource type (e.g.,
Instance or Disk). |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetAutoSnapshotsResponse.Builder resourceName(String resourceName)
The name of the source instance or disk for the automatic snapshots.
resourceName - The name of the source instance or disk for the automatic snapshots.GetAutoSnapshotsResponse.Builder resourceType(String resourceType)
The resource type (e.g., Instance or Disk).
resourceType - The resource type (e.g., Instance or Disk).ResourceType,
ResourceTypeGetAutoSnapshotsResponse.Builder resourceType(ResourceType resourceType)
The resource type (e.g., Instance or Disk).
resourceType - The resource type (e.g., Instance or Disk).ResourceType,
ResourceTypeGetAutoSnapshotsResponse.Builder autoSnapshots(Collection<AutoSnapshotDetails> autoSnapshots)
An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.
autoSnapshots - An array of objects that describe the automatic snapshots that are available for the specified source
instance or disk.GetAutoSnapshotsResponse.Builder autoSnapshots(AutoSnapshotDetails... autoSnapshots)
An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.
autoSnapshots - An array of objects that describe the automatic snapshots that are available for the specified source
instance or disk.GetAutoSnapshotsResponse.Builder autoSnapshots(Consumer<AutoSnapshotDetails.Builder>... autoSnapshots)
An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.
This is a convenience method that creates an instance of theAutoSnapshotDetails.Builder avoiding the need to
create one manually via AutoSnapshotDetails.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #autoSnapshots(List.
autoSnapshots - a consumer that will call methods on
AutoSnapshotDetails.Builder#autoSnapshots(java.util.Collection) Copyright © 2023. All rights reserved.