Interface Connector.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Connector.Builder,,Connector> SdkBuilder<Connector.Builder,,Connector> SdkPojo
- Enclosing class:
Connector
@Mutable
@NotThreadSafe
public static interface Connector.Builder
extends SdkPojo, CopyableBuilder<Connector.Builder,Connector>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the connector.default Connector.BuilderconnectorConfiguration(Consumer<ConnectorConfiguration.Builder> connectorConfiguration) The provider-specific configuration for connecting to the third-party cloud service provider.connectorConfiguration(ConnectorConfiguration connectorConfiguration) The provider-specific configuration for connecting to the third-party cloud service provider.createdTime(Instant createdTime) The date and time that the connector was created.The name of the connector.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
-
name
The name of the connector.
- Parameters:
name- The name of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the connector.
- Parameters:
arn- The Amazon Resource Name (ARN) of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorConfiguration
The provider-specific configuration for connecting to the third-party cloud service provider.
- Parameters:
connectorConfiguration- The provider-specific configuration for connecting to the third-party cloud service provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorConfiguration
default Connector.Builder connectorConfiguration(Consumer<ConnectorConfiguration.Builder> connectorConfiguration) The provider-specific configuration for connecting to the third-party cloud service provider.
This is a convenience method that creates an instance of theConnectorConfiguration.Builderavoiding the need to create one manually viaConnectorConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectorConfiguration(ConnectorConfiguration).- Parameters:
connectorConfiguration- a consumer that will call methods onConnectorConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTime
The date and time that the connector was created.
- Parameters:
createdTime- The date and time that the connector was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-