@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OnPremConfig extends Object implements Serializable, Cloneable, StructuredPojo
A list of Amazon Resource Names (ARNs) of agents to use for a Network File System (NFS) location.
Constructor and Description |
---|
OnPremConfig() |
Modifier and Type | Method and Description |
---|---|
OnPremConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAgentArns()
ARNs of the agents to use for an NFS location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentArns(Collection<String> agentArns)
ARNs of the agents to use for an NFS location.
|
String |
toString()
Returns a string representation of this object.
|
OnPremConfig |
withAgentArns(Collection<String> agentArns)
ARNs of the agents to use for an NFS location.
|
OnPremConfig |
withAgentArns(String... agentArns)
ARNs of the agents to use for an NFS location.
|
public List<String> getAgentArns()
ARNs of the agents to use for an NFS location.
public void setAgentArns(Collection<String> agentArns)
ARNs of the agents to use for an NFS location.
agentArns
- ARNs of the agents to use for an NFS location.public OnPremConfig withAgentArns(String... agentArns)
ARNs of the agents to use for an NFS location.
NOTE: This method appends the values to the existing list (if any). Use
setAgentArns(java.util.Collection)
or withAgentArns(java.util.Collection)
if you want to
override the existing values.
agentArns
- ARNs of the agents to use for an NFS location.public OnPremConfig withAgentArns(Collection<String> agentArns)
ARNs of the agents to use for an NFS location.
agentArns
- ARNs of the agents to use for an NFS location.public String toString()
toString
in class Object
Object.toString()
public OnPremConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.