Interface CancelProfileUpdateTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CancelProfileUpdateTaskResponse.Builder,,CancelProfileUpdateTaskResponse> PartnerCentralAccountResponse.Builder,SdkBuilder<CancelProfileUpdateTaskResponse.Builder,,CancelProfileUpdateTaskResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CancelProfileUpdateTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the canceled profile update task.The catalog identifier for the partner account.The timestamp when the profile update task was ended (canceled).errorDetailList(Collection<ErrorDetail> errorDetailList) A list of error details if any errors occurred during the profile update task.errorDetailList(Consumer<ErrorDetail.Builder>... errorDetailList) A list of error details if any errors occurred during the profile update task.errorDetailList(ErrorDetail... errorDetailList) A list of error details if any errors occurred during the profile update task.The unique identifier of the partner account.The timestamp when the profile update task was started.The current status of the profile update task (canceled).status(ProfileTaskStatus status) The current status of the profile update task (canceled).taskDetails(Consumer<TaskDetails.Builder> taskDetails) The details of the profile update task that was canceled.taskDetails(TaskDetails taskDetails) The details of the profile update task that was canceled.The unique identifier of the canceled profile update task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralaccount.model.PartnerCentralAccountResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
catalog
The catalog identifier for the partner account.
- Parameters:
catalog- The catalog identifier for the partner account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the canceled profile update task.
- Parameters:
arn- The Amazon Resource Name (ARN) of the canceled profile update task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier of the partner account.
- Parameters:
id- The unique identifier of the partner account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskId
The unique identifier of the canceled profile update task.
- Parameters:
taskId- The unique identifier of the canceled profile update task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskDetails
The details of the profile update task that was canceled.
- Parameters:
taskDetails- The details of the profile update task that was canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskDetails
default CancelProfileUpdateTaskResponse.Builder taskDetails(Consumer<TaskDetails.Builder> taskDetails) The details of the profile update task that was canceled.
This is a convenience method that creates an instance of theTaskDetails.Builderavoiding the need to create one manually viaTaskDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskDetails(TaskDetails).- Parameters:
taskDetails- a consumer that will call methods onTaskDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedAt
The timestamp when the profile update task was started.
- Parameters:
startedAt- The timestamp when the profile update task was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the profile update task (canceled).
- Parameters:
status- The current status of the profile update task (canceled).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the profile update task (canceled).
- Parameters:
status- The current status of the profile update task (canceled).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endedAt
The timestamp when the profile update task was ended (canceled).
- Parameters:
endedAt- The timestamp when the profile update task was ended (canceled).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetailList
A list of error details if any errors occurred during the profile update task.
- Parameters:
errorDetailList- A list of error details if any errors occurred during the profile update task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetailList
A list of error details if any errors occurred during the profile update task.
- Parameters:
errorDetailList- A list of error details if any errors occurred during the profile update task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetailList
CancelProfileUpdateTaskResponse.Builder errorDetailList(Consumer<ErrorDetail.Builder>... errorDetailList) A list of error details if any errors occurred during the profile update task.
This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorDetailList(List<ErrorDetail>).- Parameters:
errorDetailList- a consumer that will call methods onErrorDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-