Interface GetInstanceSnapshotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetInstanceSnapshotResponse.Builder,GetInstanceSnapshotResponse>,LightsailResponse.Builder,SdkBuilder<GetInstanceSnapshotResponse.Builder,GetInstanceSnapshotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetInstanceSnapshotResponse
public static interface GetInstanceSnapshotResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetInstanceSnapshotResponse.Builder,GetInstanceSnapshotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetInstanceSnapshotResponse.BuilderinstanceSnapshot(Consumer<InstanceSnapshot.Builder> instanceSnapshot)An array of key-value pairs containing information about the results of your get instance snapshot request.GetInstanceSnapshotResponse.BuilderinstanceSnapshot(InstanceSnapshot instanceSnapshot)An array of key-value pairs containing information about the results of your get instance snapshot request.-
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
-
instanceSnapshot
GetInstanceSnapshotResponse.Builder instanceSnapshot(InstanceSnapshot instanceSnapshot)
An array of key-value pairs containing information about the results of your get instance snapshot request.
- Parameters:
instanceSnapshot- An array of key-value pairs containing information about the results of your get instance snapshot request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceSnapshot
default GetInstanceSnapshotResponse.Builder instanceSnapshot(Consumer<InstanceSnapshot.Builder> instanceSnapshot)
An array of key-value pairs containing information about the results of your get instance snapshot request.
This is a convenience method that creates an instance of theInstanceSnapshot.Builderavoiding the need to create one manually viaInstanceSnapshot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceSnapshot(InstanceSnapshot).- Parameters:
instanceSnapshot- a consumer that will call methods onInstanceSnapshot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
instanceSnapshot(InstanceSnapshot)
-
-