public static final class ChangeSecret.Builder extends Object
ChangeSecret.
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 |
|---|---|
ChangeSecret |
build()
Builds a new
ChangeSecret. |
ChangeSecret.Builder |
clientId(String clientId)
Initializes the value for the
clientId attribute. |
ChangeSecret.Builder |
from(org.cloudfoundry.uaa.clients._ChangeSecret instance)
Copy abstract value type
_ChangeSecret instance into builder. |
ChangeSecret.Builder |
from(org.cloudfoundry.uaa.clients.AbstractChangeSecret instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.uaa.clients.AbstractChangeSecret instance. |
ChangeSecret.Builder |
from(ChangeSecret instance)
Fill a builder with attribute values from the provided
ChangeSecret instance. |
ChangeSecret.Builder |
oldSecret(String oldSecret)
Initializes the value for the
oldSecret attribute. |
ChangeSecret.Builder |
secret(String secret)
Initializes the value for the
secret attribute. |
public final ChangeSecret.Builder from(org.cloudfoundry.uaa.clients.AbstractChangeSecret instance)
org.cloudfoundry.uaa.clients.AbstractChangeSecret instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ChangeSecret.Builder from(ChangeSecret instance)
ChangeSecret instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ChangeSecret.Builder from(org.cloudfoundry.uaa.clients._ChangeSecret instance)
_ChangeSecret instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ChangeSecret.Builder clientId(String clientId)
clientId attribute.clientId - The value for clientIdthis builder for use in a chained invocationpublic final ChangeSecret.Builder oldSecret(String oldSecret)
oldSecret attribute.oldSecret - The value for oldSecret (can be null)this builder for use in a chained invocationpublic final ChangeSecret.Builder secret(String secret)
secret attribute.secret - The value for secretthis builder for use in a chained invocationpublic ChangeSecret build()
ChangeSecret.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.