Interface AuthenticationConfigurationPatch.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AuthenticationConfigurationPatch.Builder,,AuthenticationConfigurationPatch> SdkBuilder<AuthenticationConfigurationPatch.Builder,,AuthenticationConfigurationPatch> SdkPojo
- Enclosing class:
AuthenticationConfigurationPatch
-
Method Summary
Modifier and TypeMethodDescriptionbasicAuthenticationCredentials(Consumer<BasicAuthenticationCredentials.Builder> basicAuthenticationCredentials) The basic authentication credentials of a connection.basicAuthenticationCredentials(BasicAuthenticationCredentials basicAuthenticationCredentials) The basic authentication credentials of a connection.oAuth2Properties(Consumer<OAuth2PropertiesPatch.Builder> oAuth2Properties) The OAuth2 properties, such as the client application, grant type, and token URL, that you want to update for a connection.oAuth2Properties(OAuth2PropertiesPatch oAuth2Properties) The OAuth2 properties, such as the client application, grant type, and token URL, that you want to update for a connection.The secret ARN of a connection.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
-
secretArn
The secret ARN of a connection.
- Parameters:
secretArn- The secret ARN of a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthenticationCredentials
AuthenticationConfigurationPatch.Builder basicAuthenticationCredentials(BasicAuthenticationCredentials basicAuthenticationCredentials) The basic authentication credentials of a connection.
- Parameters:
basicAuthenticationCredentials- The basic authentication credentials of a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthenticationCredentials
default AuthenticationConfigurationPatch.Builder basicAuthenticationCredentials(Consumer<BasicAuthenticationCredentials.Builder> basicAuthenticationCredentials) The basic authentication credentials of a connection.
This is a convenience method that creates an instance of theBasicAuthenticationCredentials.Builderavoiding the need to create one manually viaBasicAuthenticationCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobasicAuthenticationCredentials(BasicAuthenticationCredentials).- Parameters:
basicAuthenticationCredentials- a consumer that will call methods onBasicAuthenticationCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2Properties
The OAuth2 properties, such as the client application, grant type, and token URL, that you want to update for a connection. Only the properties that you specify are updated; the connection keeps its existing values for the properties that you omit.
- Parameters:
oAuth2Properties- The OAuth2 properties, such as the client application, grant type, and token URL, that you want to update for a connection. Only the properties that you specify are updated; the connection keeps its existing values for the properties that you omit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2Properties
default AuthenticationConfigurationPatch.Builder oAuth2Properties(Consumer<OAuth2PropertiesPatch.Builder> oAuth2Properties) The OAuth2 properties, such as the client application, grant type, and token URL, that you want to update for a connection. Only the properties that you specify are updated; the connection keeps its existing values for the properties that you omit.
This is a convenience method that creates an instance of theOAuth2PropertiesPatch.Builderavoiding the need to create one manually viaOAuth2PropertiesPatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuth2Properties(OAuth2PropertiesPatch).- Parameters:
oAuth2Properties- a consumer that will call methods onOAuth2PropertiesPatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-