public static interface ConnectionInput.Builder extends CopyableBuilder<ConnectionInput.Builder,ConnectionInput>
Modifier and Type | Method and Description |
---|---|
ConnectionInput.Builder |
connectionProperties(Map<String,String> connectionProperties)
A list of key-value pairs used as parameters for this connection.
|
ConnectionInput.Builder |
connectionType(ConnectionType connectionType)
The type of the connection.
|
ConnectionInput.Builder |
connectionType(String connectionType)
The type of the connection.
|
ConnectionInput.Builder |
description(String description)
Description of the connection.
|
ConnectionInput.Builder |
matchCriteria(Collection<String> matchCriteria)
A list of criteria that can be used in selecting this connection.
|
ConnectionInput.Builder |
matchCriteria(String... matchCriteria)
A list of criteria that can be used in selecting this connection.
|
ConnectionInput.Builder |
name(String name)
The name of the connection.
|
default ConnectionInput.Builder |
physicalConnectionRequirements(Consumer<PhysicalConnectionRequirements.Builder> physicalConnectionRequirements)
A map of physical connection requirements, such as VPC and SecurityGroup, needed for making this connection
successfully.
|
ConnectionInput.Builder |
physicalConnectionRequirements(PhysicalConnectionRequirements physicalConnectionRequirements)
A map of physical connection requirements, such as VPC and SecurityGroup, needed for making this connection
successfully.
|
copy
apply, build
ConnectionInput.Builder name(String name)
The name of the connection.
name
- The name of the connection.ConnectionInput.Builder description(String description)
Description of the connection.
description
- Description of the connection.ConnectionInput.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
,
ConnectionType
ConnectionInput.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
,
ConnectionType
ConnectionInput.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.ConnectionInput.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.ConnectionInput.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.ConnectionInput.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 ConnectionInput.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.Builder
physicalConnectionRequirements(PhysicalConnectionRequirements)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.