@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DiscoveryData extends Object implements Serializable, Cloneable, StructuredPojo
Data for agent discovery.
Constructor and Description |
---|
DiscoveryData() |
Modifier and Type | Method and Description |
---|---|
DiscoveryData |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCapabilityArns()
List of capabilities to associate with agent.
|
List<String> |
getPrivateIpAddresses()
List of private IP addresses to associate with agent.
|
List<String> |
getPublicIpAddresses()
List of public IP addresses to associate with agent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCapabilityArns(Collection<String> capabilityArns)
List of capabilities to associate with agent.
|
void |
setPrivateIpAddresses(Collection<String> privateIpAddresses)
List of private IP addresses to associate with agent.
|
void |
setPublicIpAddresses(Collection<String> publicIpAddresses)
List of public IP addresses to associate with agent.
|
String |
toString()
Returns a string representation of this object.
|
DiscoveryData |
withCapabilityArns(Collection<String> capabilityArns)
List of capabilities to associate with agent.
|
DiscoveryData |
withCapabilityArns(String... capabilityArns)
List of capabilities to associate with agent.
|
DiscoveryData |
withPrivateIpAddresses(Collection<String> privateIpAddresses)
List of private IP addresses to associate with agent.
|
DiscoveryData |
withPrivateIpAddresses(String... privateIpAddresses)
List of private IP addresses to associate with agent.
|
DiscoveryData |
withPublicIpAddresses(Collection<String> publicIpAddresses)
List of public IP addresses to associate with agent.
|
DiscoveryData |
withPublicIpAddresses(String... publicIpAddresses)
List of public IP addresses to associate with agent.
|
public List<String> getCapabilityArns()
List of capabilities to associate with agent.
public void setCapabilityArns(Collection<String> capabilityArns)
List of capabilities to associate with agent.
capabilityArns
- List of capabilities to associate with agent.public DiscoveryData withCapabilityArns(String... capabilityArns)
List of capabilities to associate with agent.
NOTE: This method appends the values to the existing list (if any). Use
setCapabilityArns(java.util.Collection)
or withCapabilityArns(java.util.Collection)
if you want
to override the existing values.
capabilityArns
- List of capabilities to associate with agent.public DiscoveryData withCapabilityArns(Collection<String> capabilityArns)
List of capabilities to associate with agent.
capabilityArns
- List of capabilities to associate with agent.public List<String> getPrivateIpAddresses()
List of private IP addresses to associate with agent.
public void setPrivateIpAddresses(Collection<String> privateIpAddresses)
List of private IP addresses to associate with agent.
privateIpAddresses
- List of private IP addresses to associate with agent.public DiscoveryData withPrivateIpAddresses(String... privateIpAddresses)
List of private IP addresses to associate with agent.
NOTE: This method appends the values to the existing list (if any). Use
setPrivateIpAddresses(java.util.Collection)
or withPrivateIpAddresses(java.util.Collection)
if
you want to override the existing values.
privateIpAddresses
- List of private IP addresses to associate with agent.public DiscoveryData withPrivateIpAddresses(Collection<String> privateIpAddresses)
List of private IP addresses to associate with agent.
privateIpAddresses
- List of private IP addresses to associate with agent.public List<String> getPublicIpAddresses()
List of public IP addresses to associate with agent.
public void setPublicIpAddresses(Collection<String> publicIpAddresses)
List of public IP addresses to associate with agent.
publicIpAddresses
- List of public IP addresses to associate with agent.public DiscoveryData withPublicIpAddresses(String... publicIpAddresses)
List of public IP addresses to associate with agent.
NOTE: This method appends the values to the existing list (if any). Use
setPublicIpAddresses(java.util.Collection)
or withPublicIpAddresses(java.util.Collection)
if
you want to override the existing values.
publicIpAddresses
- List of public IP addresses to associate with agent.public DiscoveryData withPublicIpAddresses(Collection<String> publicIpAddresses)
List of public IP addresses to associate with agent.
publicIpAddresses
- List of public IP addresses to associate with agent.public String toString()
toString
in class Object
Object.toString()
public DiscoveryData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.