public static interface ExportSnapshotRecord.Builder extends SdkPojo, CopyableBuilder<ExportSnapshotRecord.Builder,ExportSnapshotRecord>
Modifier and Type | Method and Description |
---|---|
ExportSnapshotRecord.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the export snapshot record.
|
ExportSnapshotRecord.Builder |
createdAt(Instant createdAt)
The date when the export snapshot record was created.
|
default ExportSnapshotRecord.Builder |
destinationInfo(Consumer<DestinationInfo.Builder> destinationInfo)
A list of objects describing the destination of the export snapshot record.
|
ExportSnapshotRecord.Builder |
destinationInfo(DestinationInfo destinationInfo)
A list of objects describing the destination of the export snapshot record.
|
default ExportSnapshotRecord.Builder |
location(Consumer<ResourceLocation.Builder> location)
The AWS Region and Availability Zone where the export snapshot record is located.
|
ExportSnapshotRecord.Builder |
location(ResourceLocation location)
The AWS Region and Availability Zone where the export snapshot record is located.
|
ExportSnapshotRecord.Builder |
name(String name)
The export snapshot record name.
|
ExportSnapshotRecord.Builder |
resourceType(ResourceType resourceType)
The Lightsail resource type (e.g.,
ExportSnapshotRecord ). |
ExportSnapshotRecord.Builder |
resourceType(String resourceType)
The Lightsail resource type (e.g.,
ExportSnapshotRecord ). |
default ExportSnapshotRecord.Builder |
sourceInfo(Consumer<ExportSnapshotRecordSourceInfo.Builder> sourceInfo)
A list of objects describing the source of the export snapshot record.
|
ExportSnapshotRecord.Builder |
sourceInfo(ExportSnapshotRecordSourceInfo sourceInfo)
A list of objects describing the source of the export snapshot record.
|
ExportSnapshotRecord.Builder |
state(RecordState state)
The state of the export snapshot record.
|
ExportSnapshotRecord.Builder |
state(String state)
The state of the export snapshot record.
|
copy
applyMutation, build
ExportSnapshotRecord.Builder name(String name)
The export snapshot record name.
name
- The export snapshot record name.ExportSnapshotRecord.Builder arn(String arn)
The Amazon Resource Name (ARN) of the export snapshot record.
arn
- The Amazon Resource Name (ARN) of the export snapshot record.ExportSnapshotRecord.Builder createdAt(Instant createdAt)
The date when the export snapshot record was created.
createdAt
- The date when the export snapshot record was created.ExportSnapshotRecord.Builder location(ResourceLocation location)
The AWS Region and Availability Zone where the export snapshot record is located.
location
- The AWS Region and Availability Zone where the export snapshot record is located.default ExportSnapshotRecord.Builder location(Consumer<ResourceLocation.Builder> location)
The AWS Region and Availability Zone where the export snapshot record is located.
This is a convenience that creates an instance of theResourceLocation.Builder
avoiding the need to
create one manually via ResourceLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to location(ResourceLocation)
.location
- a consumer that will call methods on ResourceLocation.Builder
location(ResourceLocation)
ExportSnapshotRecord.Builder resourceType(String resourceType)
The Lightsail resource type (e.g., ExportSnapshotRecord
).
resourceType
- The Lightsail resource type (e.g., ExportSnapshotRecord
).ResourceType
,
ResourceType
ExportSnapshotRecord.Builder resourceType(ResourceType resourceType)
The Lightsail resource type (e.g., ExportSnapshotRecord
).
resourceType
- The Lightsail resource type (e.g., ExportSnapshotRecord
).ResourceType
,
ResourceType
ExportSnapshotRecord.Builder state(String state)
The state of the export snapshot record.
state
- The state of the export snapshot record.RecordState
,
RecordState
ExportSnapshotRecord.Builder state(RecordState state)
The state of the export snapshot record.
state
- The state of the export snapshot record.RecordState
,
RecordState
ExportSnapshotRecord.Builder sourceInfo(ExportSnapshotRecordSourceInfo sourceInfo)
A list of objects describing the source of the export snapshot record.
sourceInfo
- A list of objects describing the source of the export snapshot record.default ExportSnapshotRecord.Builder sourceInfo(Consumer<ExportSnapshotRecordSourceInfo.Builder> sourceInfo)
A list of objects describing the source of the export snapshot record.
This is a convenience that creates an instance of theExportSnapshotRecordSourceInfo.Builder
avoiding
the need to create one manually via ExportSnapshotRecordSourceInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to sourceInfo(ExportSnapshotRecordSourceInfo)
.sourceInfo
- a consumer that will call methods on ExportSnapshotRecordSourceInfo.Builder
sourceInfo(ExportSnapshotRecordSourceInfo)
ExportSnapshotRecord.Builder destinationInfo(DestinationInfo destinationInfo)
A list of objects describing the destination of the export snapshot record.
destinationInfo
- A list of objects describing the destination of the export snapshot record.default ExportSnapshotRecord.Builder destinationInfo(Consumer<DestinationInfo.Builder> destinationInfo)
A list of objects describing the destination of the export snapshot record.
This is a convenience that creates an instance of theDestinationInfo.Builder
avoiding the need to
create one manually via DestinationInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to destinationInfo(DestinationInfo)
.destinationInfo
- a consumer that will call methods on DestinationInfo.Builder
destinationInfo(DestinationInfo)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.