Class GetWirelessDeviceImportTaskResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.iotwireless.model.IotWirelessResponse
-
- software.amazon.awssdk.services.iotwireless.model.GetWirelessDeviceImportTaskResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetWirelessDeviceImportTaskResponse.Builder,GetWirelessDeviceImportTaskResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetWirelessDeviceImportTaskResponse extends IotWirelessResponse implements ToCopyableBuilder<GetWirelessDeviceImportTaskResponse.Builder,GetWirelessDeviceImportTaskResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetWirelessDeviceImportTaskResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN (Amazon Resource Name) of the import task.static GetWirelessDeviceImportTaskResponse.Builderbuilder()InstantcreationTime()The time at which the import task was created.StringdestinationName()The name of the destination that's assigned to the wireless devices in the import task.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)LongfailedImportedDeviceCount()The number of devices in the import task that failed to onboard to the import task.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the import task for which information is retrieved.LonginitializedImportedDeviceCount()The number of devices in the import task that are waiting for the control log to start processing.LongonboardedImportedDeviceCount()The number of devices in the import task that have been onboarded to the import task.LongpendingImportedDeviceCount()The number of devices in the import task that are waiting in the import task queue to be onboarded.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetWirelessDeviceImportTaskResponse.Builder>serializableBuilderClass()SidewalkGetStartImportInfosidewalk()The Sidewalk-related information about an import task.ImportTaskStatusstatus()The import task status.StringstatusAsString()The import task status.StringstatusReason()The reason for the provided status information, such as a validation error that causes the import task to fail.GetWirelessDeviceImportTaskResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.iotwireless.model.IotWirelessResponse
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
-
id
public final String id()
The identifier of the import task for which information is retrieved.
- Returns:
- The identifier of the import task for which information is retrieved.
-
arn
public final String arn()
The ARN (Amazon Resource Name) of the import task.
- Returns:
- The ARN (Amazon Resource Name) of the import task.
-
destinationName
public final String destinationName()
The name of the destination that's assigned to the wireless devices in the import task.
- Returns:
- The name of the destination that's assigned to the wireless devices in the import task.
-
sidewalk
public final SidewalkGetStartImportInfo sidewalk()
The Sidewalk-related information about an import task.
- Returns:
- The Sidewalk-related information about an import task.
-
creationTime
public final Instant creationTime()
The time at which the import task was created.
- Returns:
- The time at which the import task was created.
-
status
public final ImportTaskStatus status()
The import task status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnImportTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The import task status.
- See Also:
ImportTaskStatus
-
statusAsString
public final String statusAsString()
The import task status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnImportTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The import task status.
- See Also:
ImportTaskStatus
-
statusReason
public final String statusReason()
The reason for the provided status information, such as a validation error that causes the import task to fail.
- Returns:
- The reason for the provided status information, such as a validation error that causes the import task to fail.
-
initializedImportedDeviceCount
public final Long initializedImportedDeviceCount()
The number of devices in the import task that are waiting for the control log to start processing.
- Returns:
- The number of devices in the import task that are waiting for the control log to start processing.
-
pendingImportedDeviceCount
public final Long pendingImportedDeviceCount()
The number of devices in the import task that are waiting in the import task queue to be onboarded.
- Returns:
- The number of devices in the import task that are waiting in the import task queue to be onboarded.
-
onboardedImportedDeviceCount
public final Long onboardedImportedDeviceCount()
The number of devices in the import task that have been onboarded to the import task.
- Returns:
- The number of devices in the import task that have been onboarded to the import task.
-
failedImportedDeviceCount
public final Long failedImportedDeviceCount()
The number of devices in the import task that failed to onboard to the import task.
- Returns:
- The number of devices in the import task that failed to onboard to the import task.
-
toBuilder
public GetWirelessDeviceImportTaskResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetWirelessDeviceImportTaskResponse.Builder,GetWirelessDeviceImportTaskResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetWirelessDeviceImportTaskResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetWirelessDeviceImportTaskResponse.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-