@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OnPremConfig extends Object implements Serializable, Cloneable, StructuredPojo
The DataSync agents that are connecting to 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()
The Amazon Resource Names (ARNs) of the agents connecting to a transfer location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentArns(Collection<String> agentArns)
The Amazon Resource Names (ARNs) of the agents connecting to a transfer location.
|
String |
toString()
Returns a string representation of this object.
|
OnPremConfig |
withAgentArns(Collection<String> agentArns)
The Amazon Resource Names (ARNs) of the agents connecting to a transfer location.
|
OnPremConfig |
withAgentArns(String... agentArns)
The Amazon Resource Names (ARNs) of the agents connecting to a transfer location.
|
public List<String> getAgentArns()
The Amazon Resource Names (ARNs) of the agents connecting to a transfer location.
public void setAgentArns(Collection<String> agentArns)
The Amazon Resource Names (ARNs) of the agents connecting to a transfer location.
agentArns
- The Amazon Resource Names (ARNs) of the agents connecting to a transfer location.public OnPremConfig withAgentArns(String... agentArns)
The Amazon Resource Names (ARNs) of the agents connecting to a transfer 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
- The Amazon Resource Names (ARNs) of the agents connecting to a transfer location.public OnPremConfig withAgentArns(Collection<String> agentArns)
The Amazon Resource Names (ARNs) of the agents connecting to a transfer location.
agentArns
- The Amazon Resource Names (ARNs) of the agents connecting to a transfer 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.