public static class CreateOAuth2ClientCredentialDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateOAuth2ClientCredentialDetails |
build() |
CreateOAuth2ClientCredentialDetails.Builder |
copy(CreateOAuth2ClientCredentialDetails model) |
CreateOAuth2ClientCredentialDetails.Builder |
description(String description)
Description of the oauth credential to help user differentiate them.
|
CreateOAuth2ClientCredentialDetails.Builder |
name(String name)
Name of the oauth credential to help user differentiate them.
|
CreateOAuth2ClientCredentialDetails.Builder |
scopes(List<FullyQualifiedScope> scopes)
Allowed scopes for the given oauth credential.
|
public CreateOAuth2ClientCredentialDetails.Builder name(String name)
Name of the oauth credential to help user differentiate them.
name
- the value to setpublic CreateOAuth2ClientCredentialDetails.Builder description(String description)
Description of the oauth credential to help user differentiate them.
description
- the value to setpublic CreateOAuth2ClientCredentialDetails.Builder scopes(List<FullyQualifiedScope> scopes)
Allowed scopes for the given oauth credential.
scopes
- the value to setpublic CreateOAuth2ClientCredentialDetails build()
public CreateOAuth2ClientCredentialDetails.Builder copy(CreateOAuth2ClientCredentialDetails model)
Copyright © 2016–2024. All rights reserved.