public static final class ClientCredentialsGrantTokenProvider.Builder extends Object
ClientCredentialsGrantTokenProvider.
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.
public final ClientCredentialsGrantTokenProvider.Builder from(AbstractUaaTokenProvider instance)
org.cloudfoundry.reactor.tokenprovider.AbstractUaaTokenProvider instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ClientCredentialsGrantTokenProvider.Builder from(ClientCredentialsGrantTokenProvider instance)
ClientCredentialsGrantTokenProvider instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ClientCredentialsGrantTokenProvider.Builder from(org.cloudfoundry.reactor.tokenprovider._ClientCredentialsGrantTokenProvider instance)
_ClientCredentialsGrantTokenProvider instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ClientCredentialsGrantTokenProvider.Builder clientId(String clientId)
clientId attribute.
If not set, this attribute will have a default value as returned by the initializer of clientId.
clientId - The value for clientIdthis builder for use in a chained invocationpublic final ClientCredentialsGrantTokenProvider.Builder clientSecret(String clientSecret)
clientSecret attribute.
If not set, this attribute will have a default value as returned by the initializer of clientSecret.
clientSecret - The value for clientSecretthis builder for use in a chained invocationpublic final ClientCredentialsGrantTokenProvider.Builder identityZoneSubdomain(String identityZoneSubdomain)
identityZoneSubdomain attribute.identityZoneSubdomain - The value for identityZoneSubdomain (can be null)this builder for use in a chained invocationpublic ClientCredentialsGrantTokenProvider build()
ClientCredentialsGrantTokenProvider.IllegalStateException - if any required attributes are missingCopyright © 2019. All rights reserved.