Interface HoneycodeConnectorProfileCredentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HoneycodeConnectorProfileCredentials.Builder,
,HoneycodeConnectorProfileCredentials> SdkBuilder<HoneycodeConnectorProfileCredentials.Builder,
,HoneycodeConnectorProfileCredentials> SdkPojo
- Enclosing class:
HoneycodeConnectorProfileCredentials
public static interface HoneycodeConnectorProfileCredentials.Builder
extends SdkPojo, CopyableBuilder<HoneycodeConnectorProfileCredentials.Builder,HoneycodeConnectorProfileCredentials>
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) The credentials used to access protected Amazon Honeycode resources.oAuthRequest
(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest) Sets the value of the OAuthRequest property for this object.oAuthRequest
(ConnectorOAuthRequest oAuthRequest) Sets the value of the OAuthRequest property for this object.refreshToken
(String refreshToken) The credentials used to acquire new access tokens.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, sdkFields
-
Method Details
-
accessToken
The credentials used to access protected Amazon Honeycode resources.
- Parameters:
accessToken
- The credentials used to access protected Amazon Honeycode resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshToken
The credentials used to acquire new access tokens.
- Parameters:
refreshToken
- The credentials used to acquire new access tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthRequest
Sets the value of the OAuthRequest property for this object.- Parameters:
oAuthRequest
- The new value for the OAuthRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthRequest
default HoneycodeConnectorProfileCredentials.Builder oAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest) Sets the value of the OAuthRequest property for this object. This is a convenience method that creates an instance of theConnectorOAuthRequest.Builder
avoiding the need to create one manually viaConnectorOAuthRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooAuthRequest(ConnectorOAuthRequest)
.- Parameters:
oAuthRequest
- a consumer that will call methods onConnectorOAuthRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-