public static final class GetInfoResponse.Builder extends Object
GetInfoResponse.
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 |
|---|---|
GetInfoResponse.Builder |
app(ApplicationInfo app)
Initializes the value for the
app attribute. |
GetInfoResponse |
build()
Builds a new
GetInfoResponse. |
GetInfoResponse.Builder |
commitId(String commitId)
Initializes the value for the
commitId attribute. |
GetInfoResponse.Builder |
entityId(String entityId)
Initializes the value for the
entityId attribute. |
GetInfoResponse.Builder |
from(GetInfoResponse instance)
Fill a builder with attribute values from the provided
GetInfoResponse instance. |
GetInfoResponse.Builder |
idpDefinition(Map.Entry<String,? extends String> entry)
Put one entry to the
idpDefinitions map. |
GetInfoResponse.Builder |
idpDefinition(String key,
String value)
Put one entry to the
idpDefinitions map. |
GetInfoResponse.Builder |
idpDefinitions(Map<String,? extends String> entries)
Sets or replaces all mappings from the specified map as entries for the
idpDefinitions map. |
GetInfoResponse.Builder |
links(Links links)
Initializes the value for the
links attribute. |
GetInfoResponse.Builder |
prompts(Prompts prompts)
Initializes the value for the
prompts attribute. |
GetInfoResponse.Builder |
putAllIdpDefinitions(Map<String,? extends String> entries)
Put all mappings from the specified map as entries to
idpDefinitions map. |
GetInfoResponse.Builder |
showLoginLinks(Boolean showLoginLinks)
Initializes the value for the
showLoginLinks attribute. |
GetInfoResponse.Builder |
timestamp(String timestamp)
Initializes the value for the
timestamp attribute. |
GetInfoResponse.Builder |
zoneName(String zoneName)
Initializes the value for the
zoneName attribute. |
public final GetInfoResponse.Builder from(GetInfoResponse instance)
GetInfoResponse instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetInfoResponse.Builder app(ApplicationInfo app)
app attribute.app - The value for app (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder commitId(String commitId)
commitId attribute.commitId - The value for commitId (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder entityId(String entityId)
entityId attribute.entityId - The value for entityId (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder idpDefinition(String key, String value)
idpDefinitions map.key - The key in the idpDefinitions mapvalue - The associated value in the idpDefinitions mapthis builder for use in a chained invocationpublic final GetInfoResponse.Builder idpDefinition(Map.Entry<String,? extends String> entry)
idpDefinitions map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final GetInfoResponse.Builder idpDefinitions(Map<String,? extends String> entries)
idpDefinitions map. Nulls are not permitted as keys or values, but parameter itself can be nullentries - The entries that will be added to the idpDefinitions mapthis builder for use in a chained invocationpublic final GetInfoResponse.Builder putAllIdpDefinitions(Map<String,? extends String> entries)
idpDefinitions map. Nulls are not permittedentries - The entries that will be added to the idpDefinitions mapthis builder for use in a chained invocationpublic final GetInfoResponse.Builder links(Links links)
links attribute.links - The value for links (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder prompts(Prompts prompts)
prompts attribute.prompts - The value for prompts (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder showLoginLinks(Boolean showLoginLinks)
showLoginLinks attribute.showLoginLinks - The value for showLoginLinks (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder timestamp(String timestamp)
timestamp attribute.timestamp - The value for timestamp (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder zoneName(String zoneName)
zoneName attribute.zoneName - The value for zoneName (can be null)this builder for use in a chained invocationpublic GetInfoResponse build()
GetInfoResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.