@Generated(value="software.amazon.awssdk:codegen") public final class GetConnectionsFilter extends Object implements StructuredPojo, ToCopyableBuilder<GetConnectionsFilter.Builder,GetConnectionsFilter>
Filters the connection definitions returned by the GetConnections
API.
Modifier and Type | Class and Description |
---|---|
static interface |
GetConnectionsFilter.Builder |
Modifier and Type | Method and Description |
---|---|
static GetConnectionsFilter.Builder |
builder() |
ConnectionType |
connectionType()
The type of connections to return.
|
String |
connectionTypeAsString()
The type of connections to return.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
List<String> |
matchCriteria()
A criteria string that must match the criteria recorded in the connection definition for that connection
definition to be returned.
|
static Class<? extends GetConnectionsFilter.Builder> |
serializableBuilderClass() |
GetConnectionsFilter.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<String> matchCriteria()
A criteria string that must match the criteria recorded in the connection definition for that connection definition to be returned.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ConnectionType connectionType()
The type of connections to return. Currently, only JDBC is supported; SFTP is not supported.
If the service returns an enum value that is not available in the current SDK version, connectionType
will return ConnectionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from connectionTypeAsString()
.
ConnectionType
public String connectionTypeAsString()
The type of connections to return. Currently, only JDBC is supported; SFTP is not supported.
If the service returns an enum value that is not available in the current SDK version, connectionType
will return ConnectionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from connectionTypeAsString()
.
ConnectionType
public GetConnectionsFilter.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetConnectionsFilter.Builder,GetConnectionsFilter>
public static GetConnectionsFilter.Builder builder()
public static Class<? extends GetConnectionsFilter.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.