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