/* * 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.guardduty.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains list of scanned and skipped EBS volumes with details. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class EbsVolumeDetails implements Serializable, Cloneable, StructuredPojo { /** ** List of EBS volumes that were scanned. *
*/ private java.util.List* List of EBS volumes that were skipped from the malware scan. *
*/ private java.util.List* List of EBS volumes that were scanned. *
* * @return List of EBS volumes that were scanned. */ public java.util.List* List of EBS volumes that were scanned. *
* * @param scannedVolumeDetails * List of EBS volumes that were scanned. */ public void setScannedVolumeDetails(java.util.Collection* List of EBS volumes that were scanned. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setScannedVolumeDetails(java.util.Collection)} or {@link #withScannedVolumeDetails(java.util.Collection)} * if you want to override the existing values. *
* * @param scannedVolumeDetails * List of EBS volumes that were scanned. * @return Returns a reference to this object so that method calls can be chained together. */ public EbsVolumeDetails withScannedVolumeDetails(VolumeDetail... scannedVolumeDetails) { if (this.scannedVolumeDetails == null) { setScannedVolumeDetails(new java.util.ArrayList* List of EBS volumes that were scanned. *
* * @param scannedVolumeDetails * List of EBS volumes that were scanned. * @return Returns a reference to this object so that method calls can be chained together. */ public EbsVolumeDetails withScannedVolumeDetails(java.util.Collection* List of EBS volumes that were skipped from the malware scan. *
* * @return List of EBS volumes that were skipped from the malware scan. */ public java.util.List* List of EBS volumes that were skipped from the malware scan. *
* * @param skippedVolumeDetails * List of EBS volumes that were skipped from the malware scan. */ public void setSkippedVolumeDetails(java.util.Collection* List of EBS volumes that were skipped from the malware scan. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSkippedVolumeDetails(java.util.Collection)} or {@link #withSkippedVolumeDetails(java.util.Collection)} * if you want to override the existing values. *
* * @param skippedVolumeDetails * List of EBS volumes that were skipped from the malware scan. * @return Returns a reference to this object so that method calls can be chained together. */ public EbsVolumeDetails withSkippedVolumeDetails(VolumeDetail... skippedVolumeDetails) { if (this.skippedVolumeDetails == null) { setSkippedVolumeDetails(new java.util.ArrayList* List of EBS volumes that were skipped from the malware scan. *
* * @param skippedVolumeDetails * List of EBS volumes that were skipped from the malware scan. * @return Returns a reference to this object so that method calls can be chained together. */ public EbsVolumeDetails withSkippedVolumeDetails(java.util.Collection