@Generated(value="software.amazon.awssdk:codegen") public final class DescribeAssetBundleImportJobResponse extends QuickSightResponse implements ToCopyableBuilder<DescribeAssetBundleImportJobResponse.Builder,DescribeAssetBundleImportJobResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeAssetBundleImportJobResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) for the import job.
|
String |
assetBundleImportJobId()
The ID of the job.
|
AssetBundleImportSourceDescription |
assetBundleImportSource()
The source of the asset bundle zip file that contains the data that is imported by the job.
|
String |
awsAccountId()
The ID of the Amazon Web Services account the import job was executed in.
|
static DescribeAssetBundleImportJobResponse.Builder |
builder() |
Instant |
createdTime()
The time that the import job was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<AssetBundleImportJobError> |
errors()
An array of error records that describes any failures that occurred during the export job processing.
|
AssetBundleImportFailureAction |
failureAction()
The failure action for the import job.
|
String |
failureActionAsString()
The failure action for the import job.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasErrors()
For responses, this returns true if the service returned a value for the Errors property.
|
int |
hashCode() |
boolean |
hasRollbackErrors()
For responses, this returns true if the service returned a value for the RollbackErrors property.
|
AssetBundleImportJobStatus |
jobStatus()
Indicates the status of a job through its queuing and execution.
|
String |
jobStatusAsString()
Indicates the status of a job through its queuing and execution.
|
AssetBundleImportJobOverrideParameters |
overrideParameters()
Optional overrides to be applied to the resource configuration before import.
|
String |
requestId()
The Amazon Web Services request ID for this operation.
|
List<AssetBundleImportJobError> |
rollbackErrors()
An array of error records that describes any failures that occurred while an import job was attempting a
rollback.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeAssetBundleImportJobResponse.Builder> |
serializableBuilderClass() |
Integer |
status()
The HTTP status of the response.
|
DescribeAssetBundleImportJobResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AssetBundleImportJobStatus jobStatus()
Indicates the status of a job through its queuing and execution.
Poll the DescribeAssetBundleImport API until JobStatus returns one of the following
values:
SUCCESSFUL
FAILED
FAILED_ROLLBACK_COMPLETED
FAILED_ROLLBACK_ERROR
If the service returns an enum value that is not available in the current SDK version, jobStatus will
return AssetBundleImportJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from jobStatusAsString().
Poll the DescribeAssetBundleImport API until JobStatus returns one of the
following values:
SUCCESSFUL
FAILED
FAILED_ROLLBACK_COMPLETED
FAILED_ROLLBACK_ERROR
AssetBundleImportJobStatuspublic final String jobStatusAsString()
Indicates the status of a job through its queuing and execution.
Poll the DescribeAssetBundleImport API until JobStatus returns one of the following
values:
SUCCESSFUL
FAILED
FAILED_ROLLBACK_COMPLETED
FAILED_ROLLBACK_ERROR
If the service returns an enum value that is not available in the current SDK version, jobStatus will
return AssetBundleImportJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from jobStatusAsString().
Poll the DescribeAssetBundleImport API until JobStatus returns one of the
following values:
SUCCESSFUL
FAILED
FAILED_ROLLBACK_COMPLETED
FAILED_ROLLBACK_ERROR
AssetBundleImportJobStatuspublic final boolean hasErrors()
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<AssetBundleImportJobError> errors()
An array of error records that describes any failures that occurred during the export job processing.
Error records accumulate while the job is still running. The complete set of error records is available after the job has completed and failed.
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 hasErrors() method.
Error records accumulate while the job is still running. The complete set of error records is available after the job has completed and failed.
public final boolean hasRollbackErrors()
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<AssetBundleImportJobError> rollbackErrors()
An array of error records that describes any failures that occurred while an import job was attempting a rollback.
Error records accumulate while the job is still running. The complete set of error records is available after the job has completed and failed.
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 hasRollbackErrors() method.
Error records accumulate while the job is still running. The complete set of error records is available after the job has completed and failed.
public final String arn()
The Amazon Resource Name (ARN) for the import job.
public final Instant createdTime()
The time that the import job was created.
public final String assetBundleImportJobId()
The ID of the job. The job ID is set when you start a new job with a StartAssetBundleImportJob API
call.
StartAssetBundleImportJob API call.public final String awsAccountId()
The ID of the Amazon Web Services account the import job was executed in.
public final AssetBundleImportSourceDescription assetBundleImportSource()
The source of the asset bundle zip file that contains the data that is imported by the job.
public final AssetBundleImportJobOverrideParameters overrideParameters()
Optional overrides to be applied to the resource configuration before import.
public final AssetBundleImportFailureAction failureAction()
The failure action for the import job.
If the service returns an enum value that is not available in the current SDK version, failureAction
will return AssetBundleImportFailureAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from failureActionAsString().
AssetBundleImportFailureActionpublic final String failureActionAsString()
The failure action for the import job.
If the service returns an enum value that is not available in the current SDK version, failureAction
will return AssetBundleImportFailureAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from failureActionAsString().
AssetBundleImportFailureActionpublic final String requestId()
The Amazon Web Services request ID for this operation.
public final Integer status()
The HTTP status of the response.
public DescribeAssetBundleImportJobResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeAssetBundleImportJobResponse.Builder,DescribeAssetBundleImportJobResponse>toBuilder in class AwsResponsepublic static DescribeAssetBundleImportJobResponse.Builder builder()
public static Class<? extends DescribeAssetBundleImportJobResponse.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 © 2023. All rights reserved.