/* * 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.iotsitewise.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains a job summary information. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class JobSummary implements Serializable, Cloneable, StructuredPojo { /** ** The ID of the job. *
*/ private String id; /** ** The unique name that helps identify the job request. *
*/ private String name; /** ** 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.
*
* The ID of the job. *
* * @param id * The ID of the job. */ public void setId(String id) { this.id = id; } /** ** The ID of the job. *
* * @return The ID of the job. */ public String getId() { return this.id; } /** ** The ID of the job. *
* * @param id * The ID of the job. * @return Returns a reference to this object so that method calls can be chained together. */ public JobSummary withId(String id) { setId(id); return this; } /** ** The unique name that helps identify the job request. *
* * @param name * The unique name that helps identify the job request. */ public void setName(String name) { this.name = name; } /** ** The unique name that helps identify the job request. *
* * @return The unique name that helps identify the job request. */ public String getName() { return this.name; } /** ** The unique name that helps identify the job request. *
* * @param name * The unique name that helps identify the job request. * @return Returns a reference to this object so that method calls can be chained together. */ public JobSummary withName(String name) { setName(name); return this; } /** ** 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*