public static interface Connection.Builder extends CopyableBuilder<Connection.Builder,Connection>
| Modifier and Type | Method and Description |
|---|---|
Connection.Builder |
connectionProperties(Map<String,String> connectionProperties)
A list of key-value pairs used as parameters for this connection.
|
Connection.Builder |
connectionType(ConnectionType connectionType)
The type of the connection.
|
Connection.Builder |
connectionType(String connectionType)
The type of the connection.
|
Connection.Builder |
creationTime(Instant creationTime)
The time this connection definition was created.
|
Connection.Builder |
description(String description)
Description of the connection.
|
Connection.Builder |
lastUpdatedBy(String lastUpdatedBy)
The user, group or role that last updated this connection definition.
|
Connection.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
The last time this connection definition was updated.
|
Connection.Builder |
matchCriteria(Collection<String> matchCriteria)
A list of criteria that can be used in selecting this connection.
|
Connection.Builder |
matchCriteria(String... matchCriteria)
A list of criteria that can be used in selecting this connection.
|
Connection.Builder |
name(String name)
The name of the connection definition.
|
default Connection.Builder |
physicalConnectionRequirements(Consumer<PhysicalConnectionRequirements.Builder> physicalConnectionRequirements)
A map of physical connection requirements, such as VPC and SecurityGroup, needed for making this connection
successfully.
|
Connection.Builder |
physicalConnectionRequirements(PhysicalConnectionRequirements physicalConnectionRequirements)
A map of physical connection requirements, such as VPC and SecurityGroup, needed for making this connection
successfully.
|
copyapply, buildConnection.Builder name(String name)
The name of the connection definition.
name - The name of the connection definition.Connection.Builder description(String description)
Description of the connection.
description - Description of the connection.Connection.Builder connectionType(String connectionType)
The type of the connection. Currently, only JDBC is supported; SFTP is not supported.
connectionType - The type of the connection. Currently, only JDBC is supported; SFTP is not supported.ConnectionType,
ConnectionTypeConnection.Builder connectionType(ConnectionType connectionType)
The type of the connection. Currently, only JDBC is supported; SFTP is not supported.
connectionType - The type of the connection. Currently, only JDBC is supported; SFTP is not supported.ConnectionType,
ConnectionTypeConnection.Builder matchCriteria(Collection<String> matchCriteria)
A list of criteria that can be used in selecting this connection.
matchCriteria - A list of criteria that can be used in selecting this connection.Connection.Builder matchCriteria(String... matchCriteria)
A list of criteria that can be used in selecting this connection.
matchCriteria - A list of criteria that can be used in selecting this connection.Connection.Builder connectionProperties(Map<String,String> connectionProperties)
A list of key-value pairs used as parameters for this connection.
connectionProperties - A list of key-value pairs used as parameters for this connection.Connection.Builder physicalConnectionRequirements(PhysicalConnectionRequirements physicalConnectionRequirements)
A map of physical connection requirements, such as VPC and SecurityGroup, needed for making this connection successfully.
physicalConnectionRequirements - A map of physical connection requirements, such as VPC and SecurityGroup, needed for making this
connection successfully.default Connection.Builder physicalConnectionRequirements(Consumer<PhysicalConnectionRequirements.Builder> physicalConnectionRequirements)
A map of physical connection requirements, such as VPC and SecurityGroup, needed for making this connection successfully.
This is a convenience that creates an instance of thePhysicalConnectionRequirements.Builder avoiding
the need to create one manually via PhysicalConnectionRequirements.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
physicalConnectionRequirements(PhysicalConnectionRequirements).physicalConnectionRequirements - a consumer that will call methods on PhysicalConnectionRequirements.BuilderphysicalConnectionRequirements(PhysicalConnectionRequirements)Connection.Builder creationTime(Instant creationTime)
The time this connection definition was created.
creationTime - The time this connection definition was created.Connection.Builder lastUpdatedTime(Instant lastUpdatedTime)
The last time this connection definition was updated.
lastUpdatedTime - The last time this connection definition was updated.Connection.Builder lastUpdatedBy(String lastUpdatedBy)
The user, group or role that last updated this connection definition.
lastUpdatedBy - The user, group or role that last updated this connection definition.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.