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 interface
CreateOtaUpdateResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
awsIotJobArn()
The IoT job ARN associated with the OTA update.String
awsIotJobId()
The IoT job ID associated with the OTA update.static CreateOtaUpdateResponse.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
otaUpdateArn()
The OTA update ARN.String
otaUpdateId()
The OTA update ID.OTAUpdateStatus
otaUpdateStatus()
The OTA update status.String
otaUpdateStatusAsString()
The OTA update status.List<SdkField<?>>
sdkFields()
static Class<? extends CreateOtaUpdateResponse.Builder>
serializableBuilderClass()
CreateOtaUpdateResponse.Builder
toBuilder()
String
toString()
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,
otaUpdateStatus
will 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,
otaUpdateStatus
will 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:
toBuilder
in interfaceToCopyableBuilder<CreateOtaUpdateResponse.Builder,CreateOtaUpdateResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static CreateOtaUpdateResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateOtaUpdateResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkResponse
-
-