public static interface ExportTask.Builder extends SdkPojo, CopyableBuilder<ExportTask.Builder,ExportTask>
Modifier and Type | Method and Description |
---|---|
ExportTask.Builder |
description(String description)
A description of the resource being exported.
|
ExportTask.Builder |
exportTaskId(String exportTaskId)
The ID of the export task.
|
default ExportTask.Builder |
exportToS3Task(Consumer<ExportToS3Task.Builder> exportToS3Task)
Information about the export task.
|
ExportTask.Builder |
exportToS3Task(ExportToS3Task exportToS3Task)
Information about the export task.
|
default ExportTask.Builder |
instanceExportDetails(Consumer<InstanceExportDetails.Builder> instanceExportDetails)
Information about the instance to export.
|
ExportTask.Builder |
instanceExportDetails(InstanceExportDetails instanceExportDetails)
Information about the instance to export.
|
ExportTask.Builder |
state(ExportTaskState state)
The state of the export task.
|
ExportTask.Builder |
state(String state)
The state of the export task.
|
ExportTask.Builder |
statusMessage(String statusMessage)
The status message related to the export task.
|
ExportTask.Builder |
tags(Collection<Tag> tags)
The tags for the export task.
|
ExportTask.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags for the export task.
|
ExportTask.Builder |
tags(Tag... tags)
The tags for the export task.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ExportTask.Builder description(String description)
A description of the resource being exported.
description
- A description of the resource being exported.ExportTask.Builder exportTaskId(String exportTaskId)
The ID of the export task.
exportTaskId
- The ID of the export task.ExportTask.Builder exportToS3Task(ExportToS3Task exportToS3Task)
Information about the export task.
exportToS3Task
- Information about the export task.default ExportTask.Builder exportToS3Task(Consumer<ExportToS3Task.Builder> exportToS3Task)
Information about the export task.
This is a convenience method that creates an instance of theExportToS3Task.Builder
avoiding the need
to create one manually via ExportToS3Task.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to exportToS3Task(ExportToS3Task)
.
exportToS3Task
- a consumer that will call methods on ExportToS3Task.Builder
exportToS3Task(ExportToS3Task)
ExportTask.Builder instanceExportDetails(InstanceExportDetails instanceExportDetails)
Information about the instance to export.
instanceExportDetails
- Information about the instance to export.default ExportTask.Builder instanceExportDetails(Consumer<InstanceExportDetails.Builder> instanceExportDetails)
Information about the instance to export.
This is a convenience method that creates an instance of theInstanceExportDetails.Builder
avoiding
the need to create one manually via InstanceExportDetails.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to instanceExportDetails(InstanceExportDetails)
.
instanceExportDetails
- a consumer that will call methods on InstanceExportDetails.Builder
instanceExportDetails(InstanceExportDetails)
ExportTask.Builder state(String state)
The state of the export task.
state
- The state of the export task.ExportTaskState
,
ExportTaskState
ExportTask.Builder state(ExportTaskState state)
The state of the export task.
state
- The state of the export task.ExportTaskState
,
ExportTaskState
ExportTask.Builder statusMessage(String statusMessage)
The status message related to the export task.
statusMessage
- The status message related to the export task.ExportTask.Builder tags(Collection<Tag> tags)
The tags for the export task.
tags
- The tags for the export task.ExportTask.Builder tags(Tag... tags)
The tags for the export task.
tags
- The tags for the export task.ExportTask.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the export task.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
Copyright © 2023. All rights reserved.