Interface CancelDataRepositoryTaskResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CancelDataRepositoryTaskResponse.Builder,CancelDataRepositoryTaskResponse>,FSxResponse.Builder,SdkBuilder<CancelDataRepositoryTaskResponse.Builder,CancelDataRepositoryTaskResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CancelDataRepositoryTaskResponse
public static interface CancelDataRepositoryTaskResponse.Builder extends FSxResponse.Builder, SdkPojo, CopyableBuilder<CancelDataRepositoryTaskResponse.Builder,CancelDataRepositoryTaskResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CancelDataRepositoryTaskResponse.Builderlifecycle(String lifecycle)The lifecycle status of the data repository task, as follows:CancelDataRepositoryTaskResponse.Builderlifecycle(DataRepositoryTaskLifecycle lifecycle)The lifecycle status of the data repository task, as follows:CancelDataRepositoryTaskResponse.BuildertaskId(String taskId)The ID of the task being canceled.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
lifecycle
CancelDataRepositoryTaskResponse.Builder lifecycle(String lifecycle)
The lifecycle status of the data repository task, as follows:
-
PENDING- Amazon FSx has not started the task. -
EXECUTING- Amazon FSx is processing the task. -
FAILED- Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. The DataRepositoryTaskFailureDetails property provides more information about task failures. -
SUCCEEDED- FSx completed the task successfully. -
CANCELED- Amazon FSx canceled the task and it did not complete. -
CANCELING- FSx is in process of canceling the task.
- Parameters:
lifecycle- The lifecycle status of the data repository task, as follows:-
PENDING- Amazon FSx has not started the task. -
EXECUTING- Amazon FSx is processing the task. -
FAILED- Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. The DataRepositoryTaskFailureDetails property provides more information about task failures. -
SUCCEEDED- FSx completed the task successfully. -
CANCELED- Amazon FSx canceled the task and it did not complete. -
CANCELING- FSx is in process of canceling the task.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataRepositoryTaskLifecycle,DataRepositoryTaskLifecycle
-
-
lifecycle
CancelDataRepositoryTaskResponse.Builder lifecycle(DataRepositoryTaskLifecycle lifecycle)
The lifecycle status of the data repository task, as follows:
-
PENDING- Amazon FSx has not started the task. -
EXECUTING- Amazon FSx is processing the task. -
FAILED- Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. The DataRepositoryTaskFailureDetails property provides more information about task failures. -
SUCCEEDED- FSx completed the task successfully. -
CANCELED- Amazon FSx canceled the task and it did not complete. -
CANCELING- FSx is in process of canceling the task.
- Parameters:
lifecycle- The lifecycle status of the data repository task, as follows:-
PENDING- Amazon FSx has not started the task. -
EXECUTING- Amazon FSx is processing the task. -
FAILED- Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. The DataRepositoryTaskFailureDetails property provides more information about task failures. -
SUCCEEDED- FSx completed the task successfully. -
CANCELED- Amazon FSx canceled the task and it did not complete. -
CANCELING- FSx is in process of canceling the task.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataRepositoryTaskLifecycle,DataRepositoryTaskLifecycle
-
-
taskId
CancelDataRepositoryTaskResponse.Builder taskId(String taskId)
The ID of the task being canceled.
- Parameters:
taskId- The ID of the task being canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-