Interface ConnectorAuthenticationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectorAuthenticationConfiguration.Builder,,ConnectorAuthenticationConfiguration> SdkBuilder<ConnectorAuthenticationConfiguration.Builder,,ConnectorAuthenticationConfiguration> SdkPojo
- Enclosing class:
ConnectorAuthenticationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationTypes(Collection<AuthenticationType> authenticationTypes) A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.authenticationTypes(AuthenticationType... authenticationTypes) A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.authenticationTypesWithStrings(String... authenticationTypes) A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.authenticationTypesWithStrings(Collection<String> authenticationTypes) A list of authentication types supported by this connection type, such as Basic, OAuth2, or Custom authentication methods.basicAuthenticationProperties(Consumer<BasicAuthenticationProperties.Builder> basicAuthenticationProperties) Sets the value of the BasicAuthenticationProperties property for this object.basicAuthenticationProperties(BasicAuthenticationProperties basicAuthenticationProperties) Sets the value of the BasicAuthenticationProperties property for this object.customAuthenticationProperties(Consumer<CustomAuthenticationProperties.Builder> customAuthenticationProperties) Sets the value of the CustomAuthenticationProperties property for this object.customAuthenticationProperties(CustomAuthenticationProperties customAuthenticationProperties) Sets the value of the CustomAuthenticationProperties property for this object.oAuth2Properties(Consumer<ConnectorOAuth2Properties.Builder> oAuth2Properties) Sets the value of the OAuth2Properties property for this object.oAuth2Properties(ConnectorOAuth2Properties oAuth2Properties) Sets the value of the OAuth2Properties property for this object.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
-
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:
-
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:
-
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:
-