Interface DeleteCommandResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteCommandResponse.Builder,DeleteCommandResponse>,IotResponse.Builder,SdkBuilder<DeleteCommandResponse.Builder,DeleteCommandResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DeleteCommandResponse
public static interface DeleteCommandResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DeleteCommandResponse.Builder,DeleteCommandResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteCommandResponse.BuilderstatusCode(Integer statusCodeValue)The status code for the command deletion request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.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
-
statusCode
DeleteCommandResponse.Builder statusCode(Integer statusCodeValue)
The status code for the command deletion request. The status code is in the 200 range for a successful request.
-
If the command hasn't been deprecated, or has been deprecated for a duration that is shorter than the maximum time out duration of 12 hours, when calling the
DeleteCommandrequest, the deletion will be scheduled and a 202 status code will be returned. While the command is being deleted, it will be in apendingDeletionstate. Once the time out duration has been reached, the command will be permanently removed from your account. -
If the command has been deprecated for a duration that is longer than the maximum time out duration of 12 hours, when calling the
DeleteCommandrequest, the command will be deleted immediately and a 204 status code will be returned.
- Parameters:
statusCodeValue- The status code for the command deletion request. The status code is in the 200 range for a successful request.-
If the command hasn't been deprecated, or has been deprecated for a duration that is shorter than the maximum time out duration of 12 hours, when calling the
DeleteCommandrequest, the deletion will be scheduled and a 202 status code will be returned. While the command is being deleted, it will be in apendingDeletionstate. Once the time out duration has been reached, the command will be permanently removed from your account. -
If the command has been deprecated for a duration that is longer than the maximum time out duration of 12 hours, when calling the
DeleteCommandrequest, the command will be deleted immediately and a 204 status code will be returned.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-