Interface ConnectorDefinitionVersion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConnectorDefinitionVersion.Builder,
,ConnectorDefinitionVersion> SdkBuilder<ConnectorDefinitionVersion.Builder,
,ConnectorDefinitionVersion> SdkPojo
- Enclosing class:
ConnectorDefinitionVersion
public static interface ConnectorDefinitionVersion.Builder
extends SdkPojo, CopyableBuilder<ConnectorDefinitionVersion.Builder,ConnectorDefinitionVersion>
-
Method Summary
Modifier and TypeMethodDescriptionconnectors
(Collection<Connector> connectors) A list of references to connectors in this version, with their corresponding configuration settings.connectors
(Consumer<Connector.Builder>... connectors) A list of references to connectors in this version, with their corresponding configuration settings.connectors
(Connector... connectors) A list of references to connectors in this version, with their corresponding configuration settings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
connectors
A list of references to connectors in this version, with their corresponding configuration settings.- Parameters:
connectors
- A list of references to connectors in this version, with their corresponding configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectors
A list of references to connectors in this version, with their corresponding configuration settings.- Parameters:
connectors
- A list of references to connectors in this version, with their corresponding configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectors
A list of references to connectors in this version, with their corresponding configuration settings. This is a convenience method that creates an instance of theConnector.Builder
avoiding the need to create one manually viaConnector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectors(List<Connector>)
.- Parameters:
connectors
- a consumer that will call methods onConnector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-