Interface ConnectorDefinitionVersion.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectorDefinitionVersion.Builder,,ConnectorDefinitionVersion> SdkBuilder<ConnectorDefinitionVersion.Builder,,ConnectorDefinitionVersion> SdkPojo
- Enclosing class:
ConnectorDefinitionVersion
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaConnector.builder().When the
Consumercompletes,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:
-