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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HoneycodeConnectorProfileCredentials.BuilderaccessToken(String accessToken)The credentials used to access protected Amazon Honeycode resources.default HoneycodeConnectorProfileCredentials.BuilderoAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)Sets the value of the OAuthRequest property for this object.HoneycodeConnectorProfileCredentials.BuilderoAuthRequest(ConnectorOAuthRequest oAuthRequest)Sets the value of the OAuthRequest property for this object.HoneycodeConnectorProfileCredentials.BuilderrefreshToken(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 Detail
-
accessToken
HoneycodeConnectorProfileCredentials.Builder accessToken(String 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
HoneycodeConnectorProfileCredentials.Builder refreshToken(String 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
HoneycodeConnectorProfileCredentials.Builder oAuthRequest(ConnectorOAuthRequest 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.Builderavoiding the need to create one manually viaConnectorOAuthRequest.builder().When the
Consumercompletes,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:
oAuthRequest(ConnectorOAuthRequest)
-
-