/* * 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.personalize.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* A truncated version of the BatchSegmentJob datatype. ListBatchSegmentJobs * operation returns a list of batch segment job summaries. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class BatchSegmentJobSummary implements Serializable, Cloneable, StructuredPojo { /** *

* The Amazon Resource Name (ARN) of the batch segment job. *

*/ private String batchSegmentJobArn; /** *

* The name of the batch segment job. *

*/ private String jobName; /** *

* The status of the batch segment job. The status is one of the following values: *

* */ private String status; /** *

* The time at which the batch segment job was created. *

*/ private java.util.Date creationDateTime; /** *

* The time at which the batch segment job was last updated. *

*/ private java.util.Date lastUpdatedDateTime; /** *

* If the batch segment job failed, the reason for the failure. *

*/ private String failureReason; /** *

* The Amazon Resource Name (ARN) of the solution version used by the batch segment job to generate batch segments. *

*/ private String solutionVersionArn; /** *

* The Amazon Resource Name (ARN) of the batch segment job. *

* * @param batchSegmentJobArn * The Amazon Resource Name (ARN) of the batch segment job. */ public void setBatchSegmentJobArn(String batchSegmentJobArn) { this.batchSegmentJobArn = batchSegmentJobArn; } /** *

* The Amazon Resource Name (ARN) of the batch segment job. *

* * @return The Amazon Resource Name (ARN) of the batch segment job. */ public String getBatchSegmentJobArn() { return this.batchSegmentJobArn; } /** *

* The Amazon Resource Name (ARN) of the batch segment job. *

* * @param batchSegmentJobArn * The Amazon Resource Name (ARN) of the batch segment job. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchSegmentJobSummary withBatchSegmentJobArn(String batchSegmentJobArn) { setBatchSegmentJobArn(batchSegmentJobArn); return this; } /** *

* The name of the batch segment job. *

* * @param jobName * The name of the batch segment job. */ public void setJobName(String jobName) { this.jobName = jobName; } /** *

* The name of the batch segment job. *

* * @return The name of the batch segment job. */ public String getJobName() { return this.jobName; } /** *

* The name of the batch segment job. *

* * @param jobName * The name of the batch segment job. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchSegmentJobSummary withJobName(String jobName) { setJobName(jobName); return this; } /** *

* The status of the batch segment job. The status is one of the following values: *

* * * @param status * The status of the batch segment job. The status is one of the following values:

*