@Generated(value="software.amazon.awssdk:codegen") public final class DescribeBulkImportJobResponse extends IoTSiteWiseResponse implements ToCopyableBuilder<DescribeBulkImportJobResponse.Builder,DescribeBulkImportJobResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeBulkImportJobResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeBulkImportJobResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorReportLocation |
errorReportLocation()
The Amazon S3 destination where errors associated with the job creation request are saved.
|
List<File> |
files()
The files in the specified Amazon S3 bucket that contain your data.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFiles()
For responses, this returns true if the service returned a value for the Files property.
|
int |
hashCode() |
JobConfiguration |
jobConfiguration()
Contains the configuration information of a job, such as the file format used to save data in Amazon S3.
|
Instant |
jobCreationDate()
The date the job was created, in Unix epoch TIME.
|
String |
jobId()
The ID of the job.
|
Instant |
jobLastUpdateDate()
The date the job was last updated, in Unix epoch time.
|
String |
jobName()
The unique name that helps identify the job request.
|
String |
jobRoleArn()
The ARN of the IAM role
that allows IoT SiteWise to read Amazon S3 data.
|
JobStatus |
jobStatus()
The status of the bulk import job can be one of following values.
|
String |
jobStatusAsString()
The status of the bulk import job can be one of following values.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeBulkImportJobResponse.Builder> |
serializableBuilderClass() |
DescribeBulkImportJobResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jobId()
The ID of the job.
public final String jobName()
The unique name that helps identify the job request.
public final JobStatus jobStatus()
The status of the bulk import job can be one of following values.
PENDING – IoT SiteWise is waiting for the current bulk import job to finish.
CANCELLED – The bulk import job has been canceled.
RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3.
COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3.
FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can use logs
saved in the specified error report location in Amazon S3 to troubleshoot issues.
COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3 with
errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.
If the service returns an enum value that is not available in the current SDK version, jobStatus will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobStatusAsString().
PENDING – IoT SiteWise is waiting for the current bulk import job to finish.
CANCELLED – The bulk import job has been canceled.
RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3.
COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3.
FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can
use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.
COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3
with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot
issues.
JobStatuspublic final String jobStatusAsString()
The status of the bulk import job can be one of following values.
PENDING – IoT SiteWise is waiting for the current bulk import job to finish.
CANCELLED – The bulk import job has been canceled.
RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3.
COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3.
FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can use logs
saved in the specified error report location in Amazon S3 to troubleshoot issues.
COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3 with
errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.
If the service returns an enum value that is not available in the current SDK version, jobStatus will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobStatusAsString().
PENDING – IoT SiteWise is waiting for the current bulk import job to finish.
CANCELLED – The bulk import job has been canceled.
RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3.
COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3.
FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can
use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.
COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3
with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot
issues.
JobStatuspublic final String jobRoleArn()
The ARN of the IAM role that allows IoT SiteWise to read Amazon S3 data.
public final boolean hasFiles()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<File> files()
The files in the specified Amazon S3 bucket that contain your data.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFiles() method.
public final ErrorReportLocation errorReportLocation()
The Amazon S3 destination where errors associated with the job creation request are saved.
public final JobConfiguration jobConfiguration()
Contains the configuration information of a job, such as the file format used to save data in Amazon S3.
public final Instant jobCreationDate()
The date the job was created, in Unix epoch TIME.
public final Instant jobLastUpdateDate()
The date the job was last updated, in Unix epoch time.
public DescribeBulkImportJobResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeBulkImportJobResponse.Builder,DescribeBulkImportJobResponse>toBuilder in class AwsResponsepublic static DescribeBulkImportJobResponse.Builder builder()
public static Class<? extends DescribeBulkImportJobResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.