/* * 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.mobile.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* Result structure used in response to request to delete a project. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DeleteProjectResult extends com.amazonaws.AmazonWebServiceResult* Resources which were deleted. *
*/ private java.util.List* Resources which were not deleted, due to a risk of losing potentially important data or files. *
*/ private java.util.List* Resources which were deleted. *
* * @return Resources which were deleted. */ public java.util.List* Resources which were deleted. *
* * @param deletedResources * Resources which were deleted. */ public void setDeletedResources(java.util.Collection* Resources which were deleted. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDeletedResources(java.util.Collection)} or {@link #withDeletedResources(java.util.Collection)} if you * want to override the existing values. *
* * @param deletedResources * Resources which were deleted. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteProjectResult withDeletedResources(Resource... deletedResources) { if (this.deletedResources == null) { setDeletedResources(new java.util.ArrayList* Resources which were deleted. *
* * @param deletedResources * Resources which were deleted. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteProjectResult withDeletedResources(java.util.Collection* Resources which were not deleted, due to a risk of losing potentially important data or files. *
* * @return Resources which were not deleted, due to a risk of losing potentially important data or files. */ public java.util.List* Resources which were not deleted, due to a risk of losing potentially important data or files. *
* * @param orphanedResources * Resources which were not deleted, due to a risk of losing potentially important data or files. */ public void setOrphanedResources(java.util.Collection* Resources which were not deleted, due to a risk of losing potentially important data or files. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setOrphanedResources(java.util.Collection)} or {@link #withOrphanedResources(java.util.Collection)} if * you want to override the existing values. *
* * @param orphanedResources * Resources which were not deleted, due to a risk of losing potentially important data or files. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteProjectResult withOrphanedResources(Resource... orphanedResources) { if (this.orphanedResources == null) { setOrphanedResources(new java.util.ArrayList* Resources which were not deleted, due to a risk of losing potentially important data or files. *
* * @param orphanedResources * Resources which were not deleted, due to a risk of losing potentially important data or files. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteProjectResult withOrphanedResources(java.util.Collection