public static interface ExportSnapshotRecordSourceInfo.Builder extends SdkPojo, CopyableBuilder<ExportSnapshotRecordSourceInfo.Builder,ExportSnapshotRecordSourceInfo>
Modifier and Type | Method and Description |
---|---|
ExportSnapshotRecordSourceInfo.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the source instance or disk snapshot.
|
ExportSnapshotRecordSourceInfo.Builder |
createdAt(Instant createdAt)
The date when the source instance or disk snapshot was created.
|
default ExportSnapshotRecordSourceInfo.Builder |
diskSnapshotInfo(Consumer<DiskSnapshotInfo.Builder> diskSnapshotInfo)
A list of objects describing a disk snapshot.
|
ExportSnapshotRecordSourceInfo.Builder |
diskSnapshotInfo(DiskSnapshotInfo diskSnapshotInfo)
A list of objects describing a disk snapshot.
|
ExportSnapshotRecordSourceInfo.Builder |
fromResourceArn(String fromResourceArn)
The Amazon Resource Name (ARN) of the snapshot's source instance or disk.
|
ExportSnapshotRecordSourceInfo.Builder |
fromResourceName(String fromResourceName)
The name of the snapshot's source instance or disk.
|
default ExportSnapshotRecordSourceInfo.Builder |
instanceSnapshotInfo(Consumer<InstanceSnapshotInfo.Builder> instanceSnapshotInfo)
A list of objects describing an instance snapshot.
|
ExportSnapshotRecordSourceInfo.Builder |
instanceSnapshotInfo(InstanceSnapshotInfo instanceSnapshotInfo)
A list of objects describing an instance snapshot.
|
ExportSnapshotRecordSourceInfo.Builder |
name(String name)
The name of the source instance or disk snapshot.
|
ExportSnapshotRecordSourceInfo.Builder |
resourceType(ExportSnapshotRecordSourceType resourceType)
The Lightsail resource type (e.g.,
InstanceSnapshot or DiskSnapshot ). |
ExportSnapshotRecordSourceInfo.Builder |
resourceType(String resourceType)
The Lightsail resource type (e.g.,
InstanceSnapshot or DiskSnapshot ). |
copy
applyMutation, build
ExportSnapshotRecordSourceInfo.Builder resourceType(String resourceType)
The Lightsail resource type (e.g., InstanceSnapshot
or DiskSnapshot
).
resourceType
- The Lightsail resource type (e.g., InstanceSnapshot
or DiskSnapshot
).ExportSnapshotRecordSourceType
,
ExportSnapshotRecordSourceType
ExportSnapshotRecordSourceInfo.Builder resourceType(ExportSnapshotRecordSourceType resourceType)
The Lightsail resource type (e.g., InstanceSnapshot
or DiskSnapshot
).
resourceType
- The Lightsail resource type (e.g., InstanceSnapshot
or DiskSnapshot
).ExportSnapshotRecordSourceType
,
ExportSnapshotRecordSourceType
ExportSnapshotRecordSourceInfo.Builder createdAt(Instant createdAt)
The date when the source instance or disk snapshot was created.
createdAt
- The date when the source instance or disk snapshot was created.ExportSnapshotRecordSourceInfo.Builder name(String name)
The name of the source instance or disk snapshot.
name
- The name of the source instance or disk snapshot.ExportSnapshotRecordSourceInfo.Builder arn(String arn)
The Amazon Resource Name (ARN) of the source instance or disk snapshot.
arn
- The Amazon Resource Name (ARN) of the source instance or disk snapshot.ExportSnapshotRecordSourceInfo.Builder fromResourceName(String fromResourceName)
The name of the snapshot's source instance or disk.
fromResourceName
- The name of the snapshot's source instance or disk.ExportSnapshotRecordSourceInfo.Builder fromResourceArn(String fromResourceArn)
The Amazon Resource Name (ARN) of the snapshot's source instance or disk.
fromResourceArn
- The Amazon Resource Name (ARN) of the snapshot's source instance or disk.ExportSnapshotRecordSourceInfo.Builder instanceSnapshotInfo(InstanceSnapshotInfo instanceSnapshotInfo)
A list of objects describing an instance snapshot.
instanceSnapshotInfo
- A list of objects describing an instance snapshot.default ExportSnapshotRecordSourceInfo.Builder instanceSnapshotInfo(Consumer<InstanceSnapshotInfo.Builder> instanceSnapshotInfo)
A list of objects describing an instance snapshot.
This is a convenience that creates an instance of theInstanceSnapshotInfo.Builder
avoiding the need
to create one manually via InstanceSnapshotInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to instanceSnapshotInfo(InstanceSnapshotInfo)
.instanceSnapshotInfo
- a consumer that will call methods on InstanceSnapshotInfo.Builder
instanceSnapshotInfo(InstanceSnapshotInfo)
ExportSnapshotRecordSourceInfo.Builder diskSnapshotInfo(DiskSnapshotInfo diskSnapshotInfo)
A list of objects describing a disk snapshot.
diskSnapshotInfo
- A list of objects describing a disk snapshot.default ExportSnapshotRecordSourceInfo.Builder diskSnapshotInfo(Consumer<DiskSnapshotInfo.Builder> diskSnapshotInfo)
A list of objects describing a disk snapshot.
This is a convenience that creates an instance of theDiskSnapshotInfo.Builder
avoiding the need to
create one manually via DiskSnapshotInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to diskSnapshotInfo(DiskSnapshotInfo)
.diskSnapshotInfo
- a consumer that will call methods on DiskSnapshotInfo.Builder
diskSnapshotInfo(DiskSnapshotInfo)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.