/*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.quicksight.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see AWS API Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DescribeAssetBundleImportJobResult extends com.amazonaws.AmazonWebServiceResult
* Indicates the status of a job through its queuing and execution.
*
* Poll the
*
*
*
*
* 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.
*
* 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.
*
* The Amazon Resource Name (ARN) for the import job.
*
* The time that the import job was created.
*
* The ID of the job. The job ID is set when you start a new job with a
* The ID of the Amazon Web Services account the import job was executed in.
*
* The source of the asset bundle zip file that contains the data that is imported by the job.
*
* Optional overrides to be applied to the resource configuration before import.
*
* The failure action for the import job.
*
* The Amazon Web Services request ID for this operation.
*
* The HTTP status of the response.
*
* Indicates the status of a job through its queuing and execution.
*
* Poll the
*
*
*
* DescribeAssetBundleImport
API until JobStatus
returns one of the following
* values:
*
*
*/
private String jobStatus;
/**
* SUCCESSFUL
* FAILED
* FAILED_ROLLBACK_COMPLETED
* FAILED_ROLLBACK_ERROR
* StartAssetBundleImportJob
API
* call.
* DescribeAssetBundleImport
API until JobStatus
returns one of the following
* values:
*
*
*
* @param jobStatus
* Indicates the status of a job through its queuing and execution.SUCCESSFUL
* FAILED
* FAILED_ROLLBACK_COMPLETED
* FAILED_ROLLBACK_ERROR
*
* Poll the DescribeAssetBundleImport
API until JobStatus
returns one of the
* following values:
*
* SUCCESSFUL
*
* FAILED
*
* FAILED_ROLLBACK_COMPLETED
*
* FAILED_ROLLBACK_ERROR
*
* 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
*
* Poll the DescribeAssetBundleImport
API until JobStatus
returns one of the
* following values:
*
* SUCCESSFUL
*
* FAILED
*
* FAILED_ROLLBACK_COMPLETED
*
* FAILED_ROLLBACK_ERROR
*
* 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
*
* Poll the DescribeAssetBundleImport
API until JobStatus
returns one of the
* following values:
*
* SUCCESSFUL
*
* FAILED
*
* FAILED_ROLLBACK_COMPLETED
*
* FAILED_ROLLBACK_ERROR
*
* 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
*
* Poll the DescribeAssetBundleImport
API until JobStatus
returns one of the
* following values:
*
* SUCCESSFUL
*
* FAILED
*
* FAILED_ROLLBACK_COMPLETED
*
* FAILED_ROLLBACK_ERROR
*
* 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. *
* * @return 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.
*/
public java.util.List
* 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.
*
* 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 void setErrors(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setErrors(java.util.Collection)} or {@link #withErrors(java.util.Collection)} if you want to override the
* existing values.
*
* Error records accumulate while the job is still running. The complete set of error records is available
* after the job has completed and failed.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeAssetBundleImportJobResult withErrors(AssetBundleImportJobError... errors) {
if (this.errors == null) {
setErrors(new java.util.ArrayList
* 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.
*
* Error records accumulate while the job is still running. The complete set of error records is available
* after the job has completed and failed.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeAssetBundleImportJobResult withErrors(java.util.Collection
* 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.
*
* 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 java.util.List
* 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.
*
* 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 void setRollbackErrors(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setRollbackErrors(java.util.Collection)} or {@link #withRollbackErrors(java.util.Collection)} if you want
* to override the existing values.
*
* Error records accumulate while the job is still running. The complete set of error records is available
* after the job has completed and failed.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeAssetBundleImportJobResult withRollbackErrors(AssetBundleImportJobError... rollbackErrors) {
if (this.rollbackErrors == null) {
setRollbackErrors(new java.util.ArrayList
* 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.
*
* Error records accumulate while the job is still running. The complete set of error records is available
* after the job has completed and failed.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeAssetBundleImportJobResult withRollbackErrors(java.util.Collection
* The Amazon Resource Name (ARN) for the import job.
*
* The Amazon Resource Name (ARN) for the import job.
*
* The Amazon Resource Name (ARN) for the import job.
*
* The time that the import job was created.
*
* The time that the import job was created.
*
* The time that the import job was created.
*
* The ID of the job. The job ID is set when you start a new job with a
* The ID of the job. The job ID is set when you start a new job with a
* The ID of the job. The job ID is set when you start a new job with a
* The ID of the Amazon Web Services account the import job was executed in.
*
* The ID of the Amazon Web Services account the import job was executed in.
*
* The ID of the Amazon Web Services account the import job was executed in.
*
* The source of the asset bundle zip file that contains the data that is imported by the job.
*
* The source of the asset bundle zip file that contains the data that is imported by the job.
*
* The source of the asset bundle zip file that contains the data that is imported by the job.
*
* Optional overrides to be applied to the resource configuration before import.
*
* Optional overrides to be applied to the resource configuration before import.
*
* Optional overrides to be applied to the resource configuration before import.
*
* The failure action for the import job.
*
* The failure action for the import job.
*
* The failure action for the import job.
*
* The failure action for the import job.
*
* The Amazon Web Services request ID for this operation.
*
* The Amazon Web Services request ID for this operation.
*
* The Amazon Web Services request ID for this operation.
*
* The HTTP status of the response.
*
* The HTTP status of the response.
*
* The HTTP status of the response.
* StartAssetBundleImportJob
API
* call.
* StartAssetBundleImportJob
API call.
*/
public void setAssetBundleImportJobId(String assetBundleImportJobId) {
this.assetBundleImportJobId = assetBundleImportJobId;
}
/**
* StartAssetBundleImportJob
API
* call.
* StartAssetBundleImportJob
API call.
*/
public String getAssetBundleImportJobId() {
return this.assetBundleImportJobId;
}
/**
* StartAssetBundleImportJob
API
* call.
* StartAssetBundleImportJob
API call.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeAssetBundleImportJobResult withAssetBundleImportJobId(String assetBundleImportJobId) {
setAssetBundleImportJobId(assetBundleImportJobId);
return this;
}
/**
*