/* * 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.simplesystemsmanagement.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about the delete operation. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class InventoryDeletionSummary implements Serializable, Cloneable, StructuredPojo { /** ** The total number of items to delete. This count doesn't change during the delete operation. *
*/ private Integer totalCount; /** ** Remaining number of items to delete. *
*/ private Integer remainingCount; /** ** A list of counts and versions for deleted items. *
*/ private com.amazonaws.internal.SdkInternalList* The total number of items to delete. This count doesn't change during the delete operation. *
* * @param totalCount * The total number of items to delete. This count doesn't change during the delete operation. */ public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } /** ** The total number of items to delete. This count doesn't change during the delete operation. *
* * @return The total number of items to delete. This count doesn't change during the delete operation. */ public Integer getTotalCount() { return this.totalCount; } /** ** The total number of items to delete. This count doesn't change during the delete operation. *
* * @param totalCount * The total number of items to delete. This count doesn't change during the delete operation. * @return Returns a reference to this object so that method calls can be chained together. */ public InventoryDeletionSummary withTotalCount(Integer totalCount) { setTotalCount(totalCount); return this; } /** ** Remaining number of items to delete. *
* * @param remainingCount * Remaining number of items to delete. */ public void setRemainingCount(Integer remainingCount) { this.remainingCount = remainingCount; } /** ** Remaining number of items to delete. *
* * @return Remaining number of items to delete. */ public Integer getRemainingCount() { return this.remainingCount; } /** ** Remaining number of items to delete. *
* * @param remainingCount * Remaining number of items to delete. * @return Returns a reference to this object so that method calls can be chained together. */ public InventoryDeletionSummary withRemainingCount(Integer remainingCount) { setRemainingCount(remainingCount); return this; } /** ** A list of counts and versions for deleted items. *
* * @return A list of counts and versions for deleted items. */ public java.util.List* A list of counts and versions for deleted items. *
* * @param summaryItems * A list of counts and versions for deleted items. */ public void setSummaryItems(java.util.Collection* A list of counts and versions for deleted items. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSummaryItems(java.util.Collection)} or {@link #withSummaryItems(java.util.Collection)} if you want to * override the existing values. *
* * @param summaryItems * A list of counts and versions for deleted items. * @return Returns a reference to this object so that method calls can be chained together. */ public InventoryDeletionSummary withSummaryItems(InventoryDeletionSummaryItem... summaryItems) { if (this.summaryItems == null) { setSummaryItems(new com.amazonaws.internal.SdkInternalList* A list of counts and versions for deleted items. *
* * @param summaryItems * A list of counts and versions for deleted items. * @return Returns a reference to this object so that method calls can be chained together. */ public InventoryDeletionSummary withSummaryItems(java.util.Collection