Interface ConnectorAuthenticationConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectorAuthenticationConfiguration.Builder,ConnectorAuthenticationConfiguration>,SdkBuilder<ConnectorAuthenticationConfiguration.Builder,ConnectorAuthenticationConfiguration>,SdkPojo
- Enclosing class:
- ConnectorAuthenticationConfiguration
@Mutable @NotThreadSafe public static interface ConnectorAuthenticationConfiguration.Builder extends SdkPojo, CopyableBuilder<ConnectorAuthenticationConfiguration.Builder,ConnectorAuthenticationConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ConnectorAuthenticationConfiguration.BuilderauthenticationTypes(Collection<AuthenticationType> authenticationTypes)A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.ConnectorAuthenticationConfiguration.BuilderauthenticationTypes(AuthenticationType... authenticationTypes)A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.ConnectorAuthenticationConfiguration.BuilderauthenticationTypesWithStrings(String... authenticationTypes)A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.ConnectorAuthenticationConfiguration.BuilderauthenticationTypesWithStrings(Collection<String> authenticationTypes)A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.default ConnectorAuthenticationConfiguration.BuilderbasicAuthenticationProperties(Consumer<BasicAuthenticationProperties.Builder> basicAuthenticationProperties)Sets the value of the BasicAuthenticationProperties property for this object.ConnectorAuthenticationConfiguration.BuilderbasicAuthenticationProperties(BasicAuthenticationProperties basicAuthenticationProperties)Sets the value of the BasicAuthenticationProperties property for this object.default ConnectorAuthenticationConfiguration.BuildercustomAuthenticationProperties(Consumer<CustomAuthenticationProperties.Builder> customAuthenticationProperties)Sets the value of the CustomAuthenticationProperties property for this object.ConnectorAuthenticationConfiguration.BuildercustomAuthenticationProperties(CustomAuthenticationProperties customAuthenticationProperties)Sets the value of the CustomAuthenticationProperties property for this object.default ConnectorAuthenticationConfiguration.BuilderoAuth2Properties(Consumer<ConnectorOAuth2Properties.Builder> oAuth2Properties)Sets the value of the OAuth2Properties property for this object.ConnectorAuthenticationConfiguration.BuilderoAuth2Properties(ConnectorOAuth2Properties oAuth2Properties)Sets the value of the OAuth2Properties property for this object.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
authenticationTypesWithStrings
ConnectorAuthenticationConfiguration.Builder authenticationTypesWithStrings(Collection<String> authenticationTypes)
A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.
- Parameters:
authenticationTypes- A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationTypesWithStrings
ConnectorAuthenticationConfiguration.Builder authenticationTypesWithStrings(String... authenticationTypes)
A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.
- Parameters:
authenticationTypes- A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationTypes
ConnectorAuthenticationConfiguration.Builder authenticationTypes(Collection<AuthenticationType> authenticationTypes)
A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.
- Parameters:
authenticationTypes- A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationTypes
ConnectorAuthenticationConfiguration.Builder authenticationTypes(AuthenticationType... authenticationTypes)
A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.
- Parameters:
authenticationTypes- A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2Properties
ConnectorAuthenticationConfiguration.Builder oAuth2Properties(ConnectorOAuth2Properties oAuth2Properties)
Sets the value of the OAuth2Properties property for this object.- Parameters:
oAuth2Properties- The new value for the OAuth2Properties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2Properties
default ConnectorAuthenticationConfiguration.Builder oAuth2Properties(Consumer<ConnectorOAuth2Properties.Builder> oAuth2Properties)
Sets the value of the OAuth2Properties property for this object. This is a convenience method that creates an instance of theConnectorOAuth2Properties.Builderavoiding the need to create one manually viaConnectorOAuth2Properties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuth2Properties(ConnectorOAuth2Properties).- Parameters:
oAuth2Properties- a consumer that will call methods onConnectorOAuth2Properties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
oAuth2Properties(ConnectorOAuth2Properties)
-
basicAuthenticationProperties
ConnectorAuthenticationConfiguration.Builder basicAuthenticationProperties(BasicAuthenticationProperties basicAuthenticationProperties)
Sets the value of the BasicAuthenticationProperties property for this object.- Parameters:
basicAuthenticationProperties- The new value for the BasicAuthenticationProperties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthenticationProperties
default ConnectorAuthenticationConfiguration.Builder basicAuthenticationProperties(Consumer<BasicAuthenticationProperties.Builder> basicAuthenticationProperties)
Sets the value of the BasicAuthenticationProperties property for this object. This is a convenience method that creates an instance of theBasicAuthenticationProperties.Builderavoiding the need to create one manually viaBasicAuthenticationProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobasicAuthenticationProperties(BasicAuthenticationProperties).- Parameters:
basicAuthenticationProperties- a consumer that will call methods onBasicAuthenticationProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
basicAuthenticationProperties(BasicAuthenticationProperties)
-
customAuthenticationProperties
ConnectorAuthenticationConfiguration.Builder customAuthenticationProperties(CustomAuthenticationProperties customAuthenticationProperties)
Sets the value of the CustomAuthenticationProperties property for this object.- Parameters:
customAuthenticationProperties- The new value for the CustomAuthenticationProperties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAuthenticationProperties
default ConnectorAuthenticationConfiguration.Builder customAuthenticationProperties(Consumer<CustomAuthenticationProperties.Builder> customAuthenticationProperties)
Sets the value of the CustomAuthenticationProperties property for this object. This is a convenience method that creates an instance of theCustomAuthenticationProperties.Builderavoiding the need to create one manually viaCustomAuthenticationProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomAuthenticationProperties(CustomAuthenticationProperties).- Parameters:
customAuthenticationProperties- a consumer that will call methods onCustomAuthenticationProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
customAuthenticationProperties(CustomAuthenticationProperties)
-
-