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 that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #autoSnapshots(List) .autoSnapshots - a consumer that will call methods on List.Builder #autoSnapshots(List) Copyright © 2021. All rights reserved.