Class CreateOtaUpdateResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.iot.model.IotResponse
-
- software.amazon.awssdk.services.iot.model.CreateOtaUpdateResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateOtaUpdateResponse.Builder,CreateOtaUpdateResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateOtaUpdateResponse extends IotResponse implements ToCopyableBuilder<CreateOtaUpdateResponse.Builder,CreateOtaUpdateResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateOtaUpdateResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawsIotJobArn()The IoT job ARN associated with the OTA update.StringawsIotJobId()The IoT job ID associated with the OTA update.static CreateOtaUpdateResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringotaUpdateArn()The OTA update ARN.StringotaUpdateId()The OTA update ID.OTAUpdateStatusotaUpdateStatus()The OTA update status.StringotaUpdateStatusAsString()The OTA update status.List<SdkField<?>>sdkFields()static Class<? extends CreateOtaUpdateResponse.Builder>serializableBuilderClass()CreateOtaUpdateResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.iot.model.IotResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 OTA update ID.
- Returns:
- The OTA update ID.
-
awsIotJobId
public final String awsIotJobId()
The IoT job ID associated with the OTA update.
- Returns:
- The IoT job ID associated with the OTA update.
-
otaUpdateArn
public final String otaUpdateArn()
The OTA update ARN.
- Returns:
- The OTA update ARN.
-
awsIotJobArn
public final String awsIotJobArn()
The IoT job ARN associated with the OTA update.
- Returns:
- The IoT job ARN associated with the OTA update.
-
otaUpdateStatus
public final OTAUpdateStatus otaUpdateStatus()
The OTA update status.
If the service returns an enum value that is not available in the current SDK version,
otaUpdateStatuswill returnOTAUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromotaUpdateStatusAsString().- Returns:
- The OTA update status.
- See Also:
OTAUpdateStatus
-
otaUpdateStatusAsString
public final String otaUpdateStatusAsString()
The OTA update status.
If the service returns an enum value that is not available in the current SDK version,
otaUpdateStatuswill returnOTAUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromotaUpdateStatusAsString().- Returns:
- The OTA update status.
- See Also:
OTAUpdateStatus
-
toBuilder
public CreateOtaUpdateResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateOtaUpdateResponse.Builder,CreateOtaUpdateResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateOtaUpdateResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateOtaUpdateResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-