public static class UpdateOAuth2ClientCredentialDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateOAuth2ClientCredentialDetails |
build() |
UpdateOAuth2ClientCredentialDetails.Builder |
copy(UpdateOAuth2ClientCredentialDetails model) |
UpdateOAuth2ClientCredentialDetails.Builder |
description(String description)
Description of the oauth credential to help user differentiate them.
|
UpdateOAuth2ClientCredentialDetails.Builder |
isResetPassword(Boolean isResetPassword)
Indicate if the password to be reset or not in the update.
|
UpdateOAuth2ClientCredentialDetails.Builder |
scopes(List<FullyQualifiedScope> scopes)
Allowed scopes for the given oauth credential.
|
public UpdateOAuth2ClientCredentialDetails.Builder description(String description)
Description of the oauth credential to help user differentiate them.
description
- the value to setpublic UpdateOAuth2ClientCredentialDetails.Builder scopes(List<FullyQualifiedScope> scopes)
Allowed scopes for the given oauth credential.
scopes
- the value to setpublic UpdateOAuth2ClientCredentialDetails.Builder isResetPassword(Boolean isResetPassword)
Indicate if the password to be reset or not in the update.
isResetPassword
- the value to setpublic UpdateOAuth2ClientCredentialDetails build()
public UpdateOAuth2ClientCredentialDetails.Builder copy(UpdateOAuth2ClientCredentialDetails model)
Copyright © 2016–2024. All rights reserved.