Interface ExportSnapshotRecordSourceInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExportSnapshotRecordSourceInfo.Builder,
,ExportSnapshotRecordSourceInfo> SdkBuilder<ExportSnapshotRecordSourceInfo.Builder,
,ExportSnapshotRecordSourceInfo> SdkPojo
- Enclosing class:
ExportSnapshotRecordSourceInfo
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the source instance or disk snapshot.The date when the source instance or disk snapshot was created.diskSnapshotInfo
(Consumer<DiskSnapshotInfo.Builder> diskSnapshotInfo) A list of objects describing a disk snapshot.diskSnapshotInfo
(DiskSnapshotInfo diskSnapshotInfo) A list of objects describing a disk snapshot.fromResourceArn
(String fromResourceArn) The Amazon Resource Name (ARN) of the snapshot's source instance or disk.fromResourceName
(String fromResourceName) The name of the snapshot's source instance or disk.instanceSnapshotInfo
(Consumer<InstanceSnapshotInfo.Builder> instanceSnapshotInfo) A list of objects describing an instance snapshot.instanceSnapshotInfo
(InstanceSnapshotInfo instanceSnapshotInfo) A list of objects describing an instance snapshot.The name of the source instance or disk snapshot.resourceType
(String resourceType) The Lightsail resource type (InstanceSnapshot
orDiskSnapshot
).resourceType
(ExportSnapshotRecordSourceType resourceType) The Lightsail resource type (InstanceSnapshot
orDiskSnapshot
).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceType
The Lightsail resource type (
InstanceSnapshot
orDiskSnapshot
).- Parameters:
resourceType
- The Lightsail resource type (InstanceSnapshot
orDiskSnapshot
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The Lightsail resource type (
InstanceSnapshot
orDiskSnapshot
).- Parameters:
resourceType
- The Lightsail resource type (InstanceSnapshot
orDiskSnapshot
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date when the source instance or disk snapshot was created.
- Parameters:
createdAt
- The date when the source instance or disk snapshot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the source instance or disk snapshot.
- Parameters:
name
- The name of the source instance or disk snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the source instance or disk snapshot.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the source instance or disk snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromResourceName
The name of the snapshot's source instance or disk.
- Parameters:
fromResourceName
- The name of the snapshot's source instance or disk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromResourceArn
The Amazon Resource Name (ARN) of the snapshot's source instance or disk.
- Parameters:
fromResourceArn
- The Amazon Resource Name (ARN) of the snapshot's source instance or disk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceSnapshotInfo
ExportSnapshotRecordSourceInfo.Builder instanceSnapshotInfo(InstanceSnapshotInfo instanceSnapshotInfo) A list of objects describing an instance snapshot.
- Parameters:
instanceSnapshotInfo
- A list of objects describing an instance snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceSnapshotInfo
default ExportSnapshotRecordSourceInfo.Builder instanceSnapshotInfo(Consumer<InstanceSnapshotInfo.Builder> instanceSnapshotInfo) A list of objects describing an instance snapshot.
This is a convenience method that creates an instance of theInstanceSnapshotInfo.Builder
avoiding the need to create one manually viaInstanceSnapshotInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceSnapshotInfo(InstanceSnapshotInfo)
.- Parameters:
instanceSnapshotInfo
- a consumer that will call methods onInstanceSnapshotInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
diskSnapshotInfo
A list of objects describing a disk snapshot.
- Parameters:
diskSnapshotInfo
- A list of objects describing a disk snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskSnapshotInfo
default ExportSnapshotRecordSourceInfo.Builder diskSnapshotInfo(Consumer<DiskSnapshotInfo.Builder> diskSnapshotInfo) A list of objects describing a disk snapshot.
This is a convenience method that creates an instance of theDiskSnapshotInfo.Builder
avoiding the need to create one manually viaDiskSnapshotInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todiskSnapshotInfo(DiskSnapshotInfo)
.- Parameters:
diskSnapshotInfo
- a consumer that will call methods onDiskSnapshotInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-