/* * 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.groundstation.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Data for agent discovery. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DiscoveryData implements Serializable, Cloneable, StructuredPojo { /** ** List of capabilities to associate with agent. *
*/ private java.util.List* List of private IP addresses to associate with agent. *
*/ private java.util.List* List of public IP addresses to associate with agent. *
*/ private java.util.List* List of capabilities to associate with agent. *
* * @return List of capabilities to associate with agent. */ public java.util.List* List of capabilities to associate with agent. *
* * @param capabilityArns * List of capabilities to associate with agent. */ public void setCapabilityArns(java.util.Collection* List of capabilities to associate with agent. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCapabilityArns(java.util.Collection)} or {@link #withCapabilityArns(java.util.Collection)} if you want * to override the existing values. *
* * @param capabilityArns * List of capabilities to associate with agent. * @return Returns a reference to this object so that method calls can be chained together. */ public DiscoveryData withCapabilityArns(String... capabilityArns) { if (this.capabilityArns == null) { setCapabilityArns(new java.util.ArrayList* List of capabilities to associate with agent. *
* * @param capabilityArns * List of capabilities to associate with agent. * @return Returns a reference to this object so that method calls can be chained together. */ public DiscoveryData withCapabilityArns(java.util.Collection* List of private IP addresses to associate with agent. *
* * @return List of private IP addresses to associate with agent. */ public java.util.List* List of private IP addresses to associate with agent. *
* * @param privateIpAddresses * List of private IP addresses to associate with agent. */ public void setPrivateIpAddresses(java.util.Collection* List of private IP addresses to associate with agent. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPrivateIpAddresses(java.util.Collection)} or {@link #withPrivateIpAddresses(java.util.Collection)} if * you want to override the existing values. *
* * @param privateIpAddresses * List of private IP addresses to associate with agent. * @return Returns a reference to this object so that method calls can be chained together. */ public DiscoveryData withPrivateIpAddresses(String... privateIpAddresses) { if (this.privateIpAddresses == null) { setPrivateIpAddresses(new java.util.ArrayList* List of private IP addresses to associate with agent. *
* * @param privateIpAddresses * List of private IP addresses to associate with agent. * @return Returns a reference to this object so that method calls can be chained together. */ public DiscoveryData withPrivateIpAddresses(java.util.Collection* List of public IP addresses to associate with agent. *
* * @return List of public IP addresses to associate with agent. */ public java.util.List* List of public IP addresses to associate with agent. *
* * @param publicIpAddresses * List of public IP addresses to associate with agent. */ public void setPublicIpAddresses(java.util.Collection* List of public IP addresses to associate with agent. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPublicIpAddresses(java.util.Collection)} or {@link #withPublicIpAddresses(java.util.Collection)} if * you want to override the existing values. *
* * @param publicIpAddresses * List of public IP addresses to associate with agent. * @return Returns a reference to this object so that method calls can be chained together. */ public DiscoveryData withPublicIpAddresses(String... publicIpAddresses) { if (this.publicIpAddresses == null) { setPublicIpAddresses(new java.util.ArrayList* List of public IP addresses to associate with agent. *
* * @param publicIpAddresses * List of public IP addresses to associate with agent. * @return Returns a reference to this object so that method calls can be chained together. */ public DiscoveryData withPublicIpAddresses(java.util.Collection