public static final class AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder extends Object
AuthorizeByAuthorizationCodeGrantBrowserRequest.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder |
addAllScopes(Iterable<String> elements)
Adds elements to
scopes list. |
AuthorizeByAuthorizationCodeGrantBrowserRequest |
build()
Builds a new
AuthorizeByAuthorizationCodeGrantBrowserRequest. |
AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder |
clientId(String clientId)
Initializes the value for the
clientId attribute. |
AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder |
from(org.cloudfoundry.uaa.authorizations._AuthorizeByAuthorizationCodeGrantBrowserRequest instance)
Copy abstract value type
_AuthorizeByAuthorizationCodeGrantBrowserRequest instance into builder. |
AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder |
from(org.cloudfoundry.uaa.authorizations.AbstractAuthorizationRequest instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.uaa.authorizations.AbstractAuthorizationRequest instance. |
AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder |
from(AuthorizeByAuthorizationCodeGrantBrowserRequest instance)
Fill a builder with attribute values from the provided
AuthorizeByAuthorizationCodeGrantBrowserRequest instance. |
AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder |
loginHint(String loginHint)
Initializes the value for the
loginHint attribute. |
AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder |
redirectUri(String redirectUri)
Initializes the value for the
redirectUri attribute. |
AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder |
scope(String element)
Adds one element to
scopes list. |
AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder |
scopes(Iterable<String> elements)
Sets or replaces all elements for
scopes list. |
AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder |
scopes(String... elements)
Adds elements to
scopes list. |
public final AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder from(org.cloudfoundry.uaa.authorizations.AbstractAuthorizationRequest instance)
org.cloudfoundry.uaa.authorizations.AbstractAuthorizationRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder from(AuthorizeByAuthorizationCodeGrantBrowserRequest instance)
AuthorizeByAuthorizationCodeGrantBrowserRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder from(org.cloudfoundry.uaa.authorizations._AuthorizeByAuthorizationCodeGrantBrowserRequest instance)
_AuthorizeByAuthorizationCodeGrantBrowserRequest instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder clientId(String clientId)
clientId attribute.clientId - The value for clientIdthis builder for use in a chained invocationpublic final AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder redirectUri(String redirectUri)
redirectUri attribute.redirectUri - The value for redirectUri (can be null)this builder for use in a chained invocationpublic final AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder scope(String element)
scopes list.element - A scopes elementthis builder for use in a chained invocationpublic final AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder scopes(String... elements)
scopes list.elements - An array of scopes elementsthis builder for use in a chained invocationpublic final AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder scopes(Iterable<String> elements)
scopes list.elements - An iterable of scopes elementsthis builder for use in a chained invocationpublic final AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder addAllScopes(Iterable<String> elements)
scopes list.elements - An iterable of scopes elementsthis builder for use in a chained invocationpublic final AuthorizeByAuthorizationCodeGrantBrowserRequest.Builder loginHint(String loginHint)
loginHint attribute.loginHint - The value for loginHint (can be null)this builder for use in a chained invocationpublic AuthorizeByAuthorizationCodeGrantBrowserRequest build()
AuthorizeByAuthorizationCodeGrantBrowserRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.