@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.
|
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 Object
Object.toString()
public ConnectionsList clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.