Interface ExportTask.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExportTask.Builder,
,ExportTask> SdkBuilder<ExportTask.Builder,
,ExportTask> SdkPojo
- Enclosing class:
ExportTask
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the resource being exported.exportTaskId
(String exportTaskId) The ID of the export task.default ExportTask.Builder
exportToS3Task
(Consumer<ExportToS3Task.Builder> exportToS3Task) Information about the export task.exportToS3Task
(ExportToS3Task exportToS3Task) Information about the export task.default ExportTask.Builder
instanceExportDetails
(Consumer<InstanceExportDetails.Builder> instanceExportDetails) Information about the instance to export.instanceExportDetails
(InstanceExportDetails instanceExportDetails) Information about the instance to export.The state of the export task.state
(ExportTaskState state) The state of the export task.statusMessage
(String statusMessage) The status message related to the export task.tags
(Collection<Tag> tags) The tags for the export task.tags
(Consumer<Tag.Builder>... tags) The tags for the export task.The tags for the export task.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
-
description
A description of the resource being exported.
- Parameters:
description
- A description of the resource being exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportTaskId
The ID of the export task.
- Parameters:
exportTaskId
- The ID of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportToS3Task
Information about the export task.
- Parameters:
exportToS3Task
- Information about the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaExportToS3Task.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexportToS3Task(ExportToS3Task)
.- Parameters:
exportToS3Task
- a consumer that will call methods onExportToS3Task.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceExportDetails
Information about the instance to export.
- Parameters:
instanceExportDetails
- Information about the instance to export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceExportDetails
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 viaInstanceExportDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceExportDetails(InstanceExportDetails)
.- Parameters:
instanceExportDetails
- a consumer that will call methods onInstanceExportDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the export task.
- Parameters:
state
- The state of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the export task.
- Parameters:
state
- The state of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
The status message related to the export task.
- Parameters:
statusMessage
- The status message related to the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the export task.
- Parameters:
tags
- The tags for the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the export task.
- Parameters:
tags
- The tags for the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-