Interface GetAutoSnapshotsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAutoSnapshotsResponse.Builder,GetAutoSnapshotsResponse>,LightsailResponse.Builder,SdkBuilder<GetAutoSnapshotsResponse.Builder,GetAutoSnapshotsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAutoSnapshotsResponse
public static interface GetAutoSnapshotsResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetAutoSnapshotsResponse.Builder,GetAutoSnapshotsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetAutoSnapshotsResponse.BuilderautoSnapshots(Collection<AutoSnapshotDetails> autoSnapshots)An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.GetAutoSnapshotsResponse.BuilderautoSnapshots(Consumer<AutoSnapshotDetails.Builder>... autoSnapshots)An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.GetAutoSnapshotsResponse.BuilderautoSnapshots(AutoSnapshotDetails... autoSnapshots)An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.GetAutoSnapshotsResponse.BuilderresourceName(String resourceName)The name of the source instance or disk for the automatic snapshots.GetAutoSnapshotsResponse.BuilderresourceType(String resourceType)The resource type of the automatic snapshot.GetAutoSnapshotsResponse.BuilderresourceType(ResourceType resourceType)The resource type of the automatic snapshot.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
resourceName
GetAutoSnapshotsResponse.Builder resourceName(String resourceName)
The name of the source instance or disk for the automatic snapshots.
- Parameters:
resourceName- The name of the source instance or disk for the automatic snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
GetAutoSnapshotsResponse.Builder resourceType(String resourceType)
The resource type of the automatic snapshot. The possible values are
Instance, andDisk.- Parameters:
resourceType- The resource type of the automatic snapshot. The possible values areInstance, andDisk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
resourceType
GetAutoSnapshotsResponse.Builder resourceType(ResourceType resourceType)
The resource type of the automatic snapshot. The possible values are
Instance, andDisk.- Parameters:
resourceType- The resource type of the automatic snapshot. The possible values areInstance, andDisk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
autoSnapshots
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.
- Parameters:
autoSnapshots- An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoSnapshots
GetAutoSnapshotsResponse.Builder autoSnapshots(AutoSnapshotDetails... autoSnapshots)
An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.
- Parameters:
autoSnapshots- An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoSnapshots
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.Builderavoiding the need to create one manually viaAutoSnapshotDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#autoSnapshots(List.) - Parameters:
autoSnapshots- a consumer that will call methods onAutoSnapshotDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#autoSnapshots(java.util.Collection)
-
-