public static final class Oauth2Credentials.Builder
extends java.lang.Object
Oauth2Credentials
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
Oauth2Credentials . |
Modifier and Type | Method and Description |
---|---|
Oauth2Credentials |
build() |
Oauth2Credentials.Builder |
setClientId(java.lang.String clientId)
Client ID, that will be used for authentication in AWS environment,
|
Oauth2Credentials.Builder |
setClientSecret(java.lang.String clientSecret)
Client secret, that will be used for authentication in AWS environment.
|
public Builder()
Oauth2Credentials
.public Oauth2Credentials.Builder setClientId(java.lang.String clientId)
clientId
- New value for the property.public Oauth2Credentials.Builder setClientSecret(java.lang.String clientSecret)
clientSecret
- New value for the property.public Oauth2Credentials build()