@Generated(value="software.amazon.awssdk:codegen") public class Connection extends Object implements StructuredPojo, ToCopyableBuilder<Connection.Builder,Connection>
Defines a connection to a data source.
Modifier and Type | Class and Description |
---|---|
static interface |
Connection.Builder |
Modifier and Type | Method and Description |
---|---|
static Connection.Builder |
builder() |
Map<ConnectionPropertyKey,String> |
connectionProperties()
A list of key-value pairs used as parameters for this connection.
|
Map<String,String> |
connectionPropertiesStrings()
A list of key-value pairs used as parameters for this connection.
|
ConnectionType |
connectionType()
The type of the connection.
|
String |
connectionTypeString()
The type of the connection.
|
Instant |
creationTime()
The time this connection definition was created.
|
String |
description()
Description of the connection.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastUpdatedBy()
The user, group or role that last updated this connection definition.
|
Instant |
lastUpdatedTime()
The last time this connection definition was updated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
List<String> |
matchCriteria()
A list of criteria that can be used in selecting this connection.
|
String |
name()
The name of the connection definition.
|
PhysicalConnectionRequirements |
physicalConnectionRequirements()
A map of physical connection requirements, such as VPC and SecurityGroup, needed for making this connection
successfully.
|
static Class<? extends Connection.Builder> |
serializableBuilderClass() |
Connection.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The name of the connection definition.
public String description()
Description of the connection.
public ConnectionType connectionType()
The type of the connection. 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 connectionTypeString()
.
ConnectionType
public String connectionTypeString()
The type of the connection. 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 connectionTypeString()
.
ConnectionType
public List<String> matchCriteria()
A list of criteria that can be used in selecting this connection.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Map<ConnectionPropertyKey,String> connectionProperties()
A list of key-value pairs used as parameters for this connection.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Map<String,String> connectionPropertiesStrings()
A list of key-value pairs used as parameters for this connection.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public PhysicalConnectionRequirements physicalConnectionRequirements()
A map of physical connection requirements, such as VPC and SecurityGroup, needed for making this connection successfully.
public Instant creationTime()
The time this connection definition was created.
public Instant lastUpdatedTime()
The last time this connection definition was updated.
public String lastUpdatedBy()
The user, group or role that last updated this connection definition.
public Connection.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Connection.Builder,Connection>
public static Connection.Builder builder()
public static Class<? extends Connection.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.