Interface CustomConnectorProfileProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomConnectorProfileProperties.Builder,,CustomConnectorProfileProperties> SdkBuilder<CustomConnectorProfileProperties.Builder,,CustomConnectorProfileProperties> SdkPojo
- Enclosing class:
CustomConnectorProfileProperties
public static interface CustomConnectorProfileProperties.Builder
extends SdkPojo, CopyableBuilder<CustomConnectorProfileProperties.Builder,CustomConnectorProfileProperties>
-
Method Summary
Modifier and TypeMethodDescriptionoAuth2Properties(Consumer<OAuth2Properties.Builder> oAuth2Properties) Sets the value of the OAuth2Properties property for this object.oAuth2Properties(OAuth2Properties oAuth2Properties) Sets the value of the OAuth2Properties property for this object.profileProperties(Map<String, String> profileProperties) A map of properties that are required to create a profile for the custom 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
-
profileProperties
A map of properties that are required to create a profile for the custom connector.
- Parameters:
profileProperties- A map of properties that are required to create a profile for the custom connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 CustomConnectorProfileProperties.Builder oAuth2Properties(Consumer<OAuth2Properties.Builder> oAuth2Properties) Sets the value of the OAuth2Properties property for this object. This is a convenience method that creates an instance of theOAuth2Properties.Builderavoiding the need to create one manually viaOAuth2Properties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuth2Properties(OAuth2Properties).- Parameters:
oAuth2Properties- a consumer that will call methods onOAuth2Properties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-