public static final class GetTokenKeyResponse.Builder extends Object
GetTokenKeyResponse.
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 |
|---|---|
GetTokenKeyResponse.Builder |
algorithm(String algorithm)
Initializes the value for the
algorithm attribute. |
GetTokenKeyResponse |
build()
Builds a new
GetTokenKeyResponse. |
GetTokenKeyResponse.Builder |
e(String e)
Initializes the value for the
e attribute. |
GetTokenKeyResponse.Builder |
from(org.cloudfoundry.uaa.tokens._GetTokenKeyResponse instance)
Copy abstract value type
_GetTokenKeyResponse instance into builder. |
GetTokenKeyResponse.Builder |
from(AbstractTokenKey instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.uaa.tokens.AbstractTokenKey instance. |
GetTokenKeyResponse.Builder |
from(GetTokenKeyResponse instance)
Fill a builder with attribute values from the provided
GetTokenKeyResponse instance. |
GetTokenKeyResponse.Builder |
id(String id)
Initializes the value for the
id attribute. |
GetTokenKeyResponse.Builder |
keyType(KeyType keyType)
Initializes the value for the
keyType attribute. |
GetTokenKeyResponse.Builder |
n(String n)
Initializes the value for the
n attribute. |
GetTokenKeyResponse.Builder |
use(String use)
Initializes the value for the
use attribute. |
GetTokenKeyResponse.Builder |
value(String value)
Initializes the value for the
value attribute. |
public final GetTokenKeyResponse.Builder from(AbstractTokenKey instance)
org.cloudfoundry.uaa.tokens.AbstractTokenKey instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetTokenKeyResponse.Builder from(GetTokenKeyResponse instance)
GetTokenKeyResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetTokenKeyResponse.Builder from(org.cloudfoundry.uaa.tokens._GetTokenKeyResponse instance)
_GetTokenKeyResponse instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetTokenKeyResponse.Builder algorithm(String algorithm)
algorithm attribute.algorithm - The value for algorithmthis builder for use in a chained invocationpublic final GetTokenKeyResponse.Builder e(String e)
e attribute.e - The value for ethis builder for use in a chained invocationpublic final GetTokenKeyResponse.Builder id(String id)
id attribute.id - The value for id (can be null)this builder for use in a chained invocationpublic final GetTokenKeyResponse.Builder keyType(KeyType keyType)
keyType attribute.keyType - The value for keyTypethis builder for use in a chained invocationpublic final GetTokenKeyResponse.Builder n(String n)
n attribute.n - The value for nthis builder for use in a chained invocationpublic final GetTokenKeyResponse.Builder use(String use)
use attribute.use - The value for usethis builder for use in a chained invocationpublic final GetTokenKeyResponse.Builder value(String value)
value attribute.value - The value for valuethis builder for use in a chained invocationpublic GetTokenKeyResponse build()
GetTokenKeyResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.