@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetConnectionsFilter extends Object implements Serializable, Cloneable, StructuredPojo
Filters the connection definitions that are returned by the GetConnections
API operation.
Constructor and Description |
---|
GetConnectionsFilter() |
Modifier and Type | Method and Description |
---|---|
GetConnectionsFilter |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionType()
The type of connections to return.
|
List<String> |
getMatchCriteria()
A criteria string that must match the criteria recorded in the connection definition for that connection
definition to be returned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionType(String connectionType)
The type of connections to return.
|
void |
setMatchCriteria(Collection<String> matchCriteria)
A criteria string that must match the criteria recorded in the connection definition for that connection
definition to be returned.
|
String |
toString()
Returns a string representation of this object.
|
GetConnectionsFilter |
withConnectionType(ConnectionType connectionType)
The type of connections to return.
|
GetConnectionsFilter |
withConnectionType(String connectionType)
The type of connections to return.
|
GetConnectionsFilter |
withMatchCriteria(Collection<String> matchCriteria)
A criteria string that must match the criteria recorded in the connection definition for that connection
definition to be returned.
|
GetConnectionsFilter |
withMatchCriteria(String... matchCriteria)
A criteria string that must match the criteria recorded in the connection definition for that connection
definition to be returned.
|
public List<String> getMatchCriteria()
A criteria string that must match the criteria recorded in the connection definition for that connection definition to be returned.
public void setMatchCriteria(Collection<String> matchCriteria)
A criteria string that must match the criteria recorded in the connection definition for that connection definition to be returned.
matchCriteria
- A criteria string that must match the criteria recorded in the connection definition for that connection
definition to be returned.public GetConnectionsFilter withMatchCriteria(String... matchCriteria)
A criteria string that must match the criteria recorded in the connection definition for that connection definition to be returned.
NOTE: This method appends the values to the existing list (if any). Use
setMatchCriteria(java.util.Collection)
or withMatchCriteria(java.util.Collection)
if you want
to override the existing values.
matchCriteria
- A criteria string that must match the criteria recorded in the connection definition for that connection
definition to be returned.public GetConnectionsFilter withMatchCriteria(Collection<String> matchCriteria)
A criteria string that must match the criteria recorded in the connection definition for that connection definition to be returned.
matchCriteria
- A criteria string that must match the criteria recorded in the connection definition for that connection
definition to be returned.public void setConnectionType(String connectionType)
The type of connections to return. Currently, SFTP is not supported.
connectionType
- The type of connections to return. Currently, SFTP is not supported.ConnectionType
public String getConnectionType()
The type of connections to return. Currently, SFTP is not supported.
ConnectionType
public GetConnectionsFilter withConnectionType(String connectionType)
The type of connections to return. Currently, SFTP is not supported.
connectionType
- The type of connections to return. Currently, SFTP is not supported.ConnectionType
public GetConnectionsFilter withConnectionType(ConnectionType connectionType)
The type of connections to return. Currently, SFTP is not supported.
connectionType
- The type of connections to return. Currently, SFTP is not supported.ConnectionType
public String toString()
toString
in class Object
Object.toString()
public GetConnectionsFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.