@Generated(from="_GetUserResponse",
generator="Immutables")
public static final class GetUserResponse.Builder
extends Object
GetUserResponse.
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 |
|---|---|
GetUserResponse |
build()
Builds a new
GetUserResponse. |
GetUserResponse.Builder |
createdAt(String createdAt)
Initializes the value for the
createdAt attribute. |
GetUserResponse.Builder |
from(org.cloudfoundry.client.v3.users._GetUserResponse instance)
Copy abstract value type
_GetUserResponse instance into builder. |
GetUserResponse.Builder |
from(GetUserResponse instance)
Fill a builder with attribute values from the provided
GetUserResponse instance. |
GetUserResponse.Builder |
from(Resource instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.Resource instance. |
GetUserResponse.Builder |
from(User instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.users.User instance. |
GetUserResponse.Builder |
id(String id)
Initializes the value for the
id attribute. |
GetUserResponse.Builder |
link(Map.Entry<String,? extends Link> entry)
Put one entry to the
links map. |
GetUserResponse.Builder |
link(String key,
Link value)
Put one entry to the
links map. |
GetUserResponse.Builder |
links(Map<String,? extends Link> entries)
Sets or replaces all mappings from the specified map as entries for the
links map. |
GetUserResponse.Builder |
metadata(Metadata metadata)
Initializes the value for the
metadata attribute. |
GetUserResponse.Builder |
origin(String origin)
Initializes the value for the
origin attribute. |
GetUserResponse.Builder |
presentationName(String presentationName)
Initializes the value for the
presentationName attribute. |
GetUserResponse.Builder |
putAllLinks(Map<String,? extends Link> entries)
Put all mappings from the specified map as entries to
links map. |
GetUserResponse.Builder |
updatedAt(String updatedAt)
Initializes the value for the
updatedAt attribute. |
GetUserResponse.Builder |
username(String username)
Initializes the value for the
username attribute. |
public final GetUserResponse.Builder from(Resource instance)
org.cloudfoundry.client.v3.Resource instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetUserResponse.Builder from(GetUserResponse instance)
GetUserResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetUserResponse.Builder from(org.cloudfoundry.client.v3.users._GetUserResponse instance)
_GetUserResponse instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetUserResponse.Builder from(User instance)
org.cloudfoundry.client.v3.users.User instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetUserResponse.Builder createdAt(String createdAt)
createdAt attribute.createdAt - The value for createdAtthis builder for use in a chained invocationpublic final GetUserResponse.Builder id(String id)
id attribute.id - The value for idthis builder for use in a chained invocationpublic final GetUserResponse.Builder link(String key, Link value)
links map.key - The key in the links mapvalue - The associated value in the links mapthis builder for use in a chained invocationpublic final GetUserResponse.Builder link(Map.Entry<String,? extends Link> entry)
links map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final GetUserResponse.Builder links(Map<String,? extends Link> entries)
links map. Nulls are not permittedentries - The entries that will be added to the links mapthis builder for use in a chained invocationpublic final GetUserResponse.Builder putAllLinks(Map<String,? extends Link> entries)
links map. Nulls are not permittedentries - The entries that will be added to the links mapthis builder for use in a chained invocationpublic final GetUserResponse.Builder updatedAt(String updatedAt)
updatedAt attribute.updatedAt - The value for updatedAt (can be null)this builder for use in a chained invocationpublic final GetUserResponse.Builder username(String username)
username attribute.username - The value for username (can be null)this builder for use in a chained invocationpublic final GetUserResponse.Builder presentationName(String presentationName)
presentationName attribute.presentationName - The value for presentationName (can be null)this builder for use in a chained invocationpublic final GetUserResponse.Builder origin(String origin)
origin attribute.origin - The value for origin (can be null)this builder for use in a chained invocationpublic final GetUserResponse.Builder metadata(Metadata metadata)
metadata attribute.metadata - The value for metadata (can be null)this builder for use in a chained invocationpublic GetUserResponse build()
GetUserResponse.IllegalStateException - if any required attributes are missingCopyright © 2026. All rights reserved.