Interface ExportTask.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExportTask.Builder,ExportTask>,SdkBuilder<ExportTask.Builder,ExportTask>,SdkPojo
- Enclosing class:
- ExportTask
public static interface ExportTask.Builder extends SdkPojo, CopyableBuilder<ExportTask.Builder,ExportTask>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExportTask.Builderdescription(String description)A description of the resource being exported.ExportTask.BuilderexportTaskId(String exportTaskId)The ID of the export task.default ExportTask.BuilderexportToS3Task(Consumer<ExportToS3Task.Builder> exportToS3Task)Information about the export task.ExportTask.BuilderexportToS3Task(ExportToS3Task exportToS3Task)Information about the export task.default ExportTask.BuilderinstanceExportDetails(Consumer<InstanceExportDetails.Builder> instanceExportDetails)Information about the instance to export.ExportTask.BuilderinstanceExportDetails(InstanceExportDetails instanceExportDetails)Information about the instance to export.ExportTask.Builderstate(String state)The state of the export task.ExportTask.Builderstate(ExportTaskState state)The state of the export task.ExportTask.BuilderstatusMessage(String statusMessage)The status message related to the export task.ExportTask.Buildertags(Collection<Tag> tags)The tags for the export task.ExportTask.Buildertags(Consumer<Tag.Builder>... tags)The tags for the export task.ExportTask.Buildertags(Tag... tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
description
ExportTask.Builder description(String 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
ExportTask.Builder exportTaskId(String 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
ExportTask.Builder exportToS3Task(ExportToS3Task 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
default ExportTask.Builder exportToS3Task(Consumer<ExportToS3Task.Builder> exportToS3Task)
Information about the export task.
This is a convenience method that creates an instance of theExportToS3Task.Builderavoiding the need to create one manually viaExportToS3Task.builder().When the
Consumercompletes,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:
exportToS3Task(ExportToS3Task)
-
instanceExportDetails
ExportTask.Builder instanceExportDetails(InstanceExportDetails 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.Builderavoiding the need to create one manually viaInstanceExportDetails.builder().When the
Consumercompletes,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:
instanceExportDetails(InstanceExportDetails)
-
state
ExportTask.Builder state(String 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:
ExportTaskState,ExportTaskState
-
state
ExportTask.Builder state(ExportTaskState 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:
ExportTaskState,ExportTaskState
-
statusMessage
ExportTask.Builder statusMessage(String 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
ExportTask.Builder tags(Collection<Tag> 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
ExportTask.Builder tags(Tag... 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
ExportTask.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the export task.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
-