@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectionsList extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the connections used by a job.
| Constructor and Description |
|---|
ConnectionsList() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionsList |
clone() |
boolean |
equals(Object obj) |
List<String> |
getConnections()
A list of connections used by the job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConnections(Collection<String> connections)
A list of connections used by the job.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ConnectionsList |
withConnections(Collection<String> connections)
A list of connections used by the job.
|
ConnectionsList |
withConnections(String... connections)
A list of connections used by the job.
|
public List<String> getConnections()
A list of connections used by the job.
public void setConnections(Collection<String> connections)
A list of connections used by the job.
connections - A list of connections used by the job.public ConnectionsList withConnections(String... connections)
A list of connections used by the job.
NOTE: This method appends the values to the existing list (if any). Use
setConnections(java.util.Collection) or withConnections(java.util.Collection) if you want to
override the existing values.
connections - A list of connections used by the job.public ConnectionsList withConnections(Collection<String> connections)
A list of connections used by the job.
connections - A list of connections used by the job.public String toString()
toString in class ObjectObject.toString()public ConnectionsList clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.