/* * 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.apigateway.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* A collection of the imported DocumentationPart identifiers. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ImportDocumentationPartsResult extends com.amazonaws.AmazonWebServiceResult* A list of the returned documentation part identifiers. *
*/ private java.util.List* A list of warning messages reported during import of documentation parts. *
*/ private java.util.List* A list of the returned documentation part identifiers. *
* * @return A list of the returned documentation part identifiers. */ public java.util.List* A list of the returned documentation part identifiers. *
* * @param ids * A list of the returned documentation part identifiers. */ public void setIds(java.util.Collection* A list of the returned documentation part identifiers. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setIds(java.util.Collection)} or {@link #withIds(java.util.Collection)} if you want to override the * existing values. *
* * @param ids * A list of the returned documentation part identifiers. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportDocumentationPartsResult withIds(String... ids) { if (this.ids == null) { setIds(new java.util.ArrayList* A list of the returned documentation part identifiers. *
* * @param ids * A list of the returned documentation part identifiers. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportDocumentationPartsResult withIds(java.util.Collection* A list of warning messages reported during import of documentation parts. *
* * @return A list of warning messages reported during import of documentation parts. */ public java.util.List* A list of warning messages reported during import of documentation parts. *
* * @param warnings * A list of warning messages reported during import of documentation parts. */ public void setWarnings(java.util.Collection* A list of warning messages reported during import of documentation parts. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setWarnings(java.util.Collection)} or {@link #withWarnings(java.util.Collection)} if you want to override * the existing values. *
* * @param warnings * A list of warning messages reported during import of documentation parts. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportDocumentationPartsResult withWarnings(String... warnings) { if (this.warnings == null) { setWarnings(new java.util.ArrayList* A list of warning messages reported during import of documentation parts. *
* * @param warnings * A list of warning messages reported during import of documentation parts. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportDocumentationPartsResult withWarnings(java.util.Collection