/* * 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.dataexchange.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about the job error. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Details implements Serializable, Cloneable, StructuredPojo { /** ** Information about the job error. *
*/ private ImportAssetFromSignedUrlJobErrorDetails importAssetFromSignedUrlJobErrorDetails; /** ** Details about the job error. *
*/ private java.util.List* Information about the job error. *
* * @param importAssetFromSignedUrlJobErrorDetails * Information about the job error. */ public void setImportAssetFromSignedUrlJobErrorDetails(ImportAssetFromSignedUrlJobErrorDetails importAssetFromSignedUrlJobErrorDetails) { this.importAssetFromSignedUrlJobErrorDetails = importAssetFromSignedUrlJobErrorDetails; } /** ** Information about the job error. *
* * @return Information about the job error. */ public ImportAssetFromSignedUrlJobErrorDetails getImportAssetFromSignedUrlJobErrorDetails() { return this.importAssetFromSignedUrlJobErrorDetails; } /** ** Information about the job error. *
* * @param importAssetFromSignedUrlJobErrorDetails * Information about the job error. * @return Returns a reference to this object so that method calls can be chained together. */ public Details withImportAssetFromSignedUrlJobErrorDetails(ImportAssetFromSignedUrlJobErrorDetails importAssetFromSignedUrlJobErrorDetails) { setImportAssetFromSignedUrlJobErrorDetails(importAssetFromSignedUrlJobErrorDetails); return this; } /** ** Details about the job error. *
* * @return Details about the job error. */ public java.util.List* Details about the job error. *
* * @param importAssetsFromS3JobErrorDetails * Details about the job error. */ public void setImportAssetsFromS3JobErrorDetails(java.util.Collection* Details about the job error. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setImportAssetsFromS3JobErrorDetails(java.util.Collection)} or * {@link #withImportAssetsFromS3JobErrorDetails(java.util.Collection)} if you want to override the existing values. *
* * @param importAssetsFromS3JobErrorDetails * Details about the job error. * @return Returns a reference to this object so that method calls can be chained together. */ public Details withImportAssetsFromS3JobErrorDetails(AssetSourceEntry... importAssetsFromS3JobErrorDetails) { if (this.importAssetsFromS3JobErrorDetails == null) { setImportAssetsFromS3JobErrorDetails(new java.util.ArrayList* Details about the job error. *
* * @param importAssetsFromS3JobErrorDetails * Details about the job error. * @return Returns a reference to this object so that method calls can be chained together. */ public Details withImportAssetsFromS3JobErrorDetails(java.util.Collection