Class DeleteOtaUpdateRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iot.model.IotRequest
-
- software.amazon.awssdk.services.iot.model.DeleteOtaUpdateRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteOtaUpdateRequest.Builder,DeleteOtaUpdateRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteOtaUpdateRequest extends IotRequest implements ToCopyableBuilder<DeleteOtaUpdateRequest.Builder,DeleteOtaUpdateRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteOtaUpdateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteOtaUpdateRequest.Builderbuilder()BooleandeleteStream()When true, the stream created by the OTAUpdate process is deleted when the OTA update is deleted.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanforceDeleteAWSJob()When true, deletes the IoT job created by the OTAUpdate process even if it is "IN_PROGRESS".<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringotaUpdateId()The ID of the OTA update to delete.List<SdkField<?>>sdkFields()static Class<? extends DeleteOtaUpdateRequest.Builder>serializableBuilderClass()DeleteOtaUpdateRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
otaUpdateId
public final String otaUpdateId()
The ID of the OTA update to delete.
- Returns:
- The ID of the OTA update to delete.
-
deleteStream
public final Boolean deleteStream()
When true, the stream created by the OTAUpdate process is deleted when the OTA update is deleted. Ignored if the stream specified in the OTAUpdate is supplied by the user.
- Returns:
- When true, the stream created by the OTAUpdate process is deleted when the OTA update is deleted. Ignored if the stream specified in the OTAUpdate is supplied by the user.
-
forceDeleteAWSJob
public final Boolean forceDeleteAWSJob()
When true, deletes the IoT job created by the OTAUpdate process even if it is "IN_PROGRESS". Otherwise, if the job is not in a terminal state ("COMPLETED" or "CANCELED") an exception will occur. The default is false.
- Returns:
- When true, deletes the IoT job created by the OTAUpdate process even if it is "IN_PROGRESS". Otherwise, if the job is not in a terminal state ("COMPLETED" or "CANCELED") an exception will occur. The default is false.
-
toBuilder
public DeleteOtaUpdateRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteOtaUpdateRequest.Builder,DeleteOtaUpdateRequest>- Specified by:
toBuilderin classIotRequest
-
builder
public static DeleteOtaUpdateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteOtaUpdateRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-