public static final class UpdateDomainResponse.Builder extends Object
UpdateDomainResponse.
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 |
|---|---|
UpdateDomainResponse.Builder |
addAllSupportedProtocols(Iterable<? extends Protocol> elements)
Adds elements to
supportedProtocols list. |
UpdateDomainResponse |
build()
Builds a new
UpdateDomainResponse. |
UpdateDomainResponse.Builder |
createdAt(String createdAt)
Initializes the value for the
createdAt attribute. |
UpdateDomainResponse.Builder |
from(org.cloudfoundry.client.v3.domains._UpdateDomainResponse instance)
Copy abstract value type
_UpdateDomainResponse instance into builder. |
UpdateDomainResponse.Builder |
from(Domain instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.domains.Domain instance. |
UpdateDomainResponse.Builder |
from(Resource instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.Resource instance. |
UpdateDomainResponse.Builder |
from(UpdateDomainResponse instance)
Fill a builder with attribute values from the provided
UpdateDomainResponse instance. |
UpdateDomainResponse.Builder |
id(String id)
Initializes the value for the
id attribute. |
UpdateDomainResponse.Builder |
isInternal(boolean isInternal)
Initializes the value for the
isInternal attribute. |
UpdateDomainResponse.Builder |
link(Map.Entry<String,? extends Link> entry)
Put one entry to the
links map. |
UpdateDomainResponse.Builder |
link(String key,
Link value)
Put one entry to the
links map. |
UpdateDomainResponse.Builder |
links(Map<String,? extends Link> entries)
Sets or replaces all mappings from the specified map as entries for the
links map. |
UpdateDomainResponse.Builder |
metadata(Metadata metadata)
Initializes the value for the
metadata attribute. |
UpdateDomainResponse.Builder |
name(String name)
Initializes the value for the
name attribute. |
UpdateDomainResponse.Builder |
putAllLinks(Map<String,? extends Link> entries)
Put all mappings from the specified map as entries to
links map. |
UpdateDomainResponse.Builder |
relationships(DomainRelationships relationships)
Initializes the value for the
relationships attribute. |
UpdateDomainResponse.Builder |
routerGroup(RouterGroup routerGroup)
Initializes the value for the
routerGroup attribute. |
UpdateDomainResponse.Builder |
supportedProtocol(Protocol element)
Adds one element to
supportedProtocols list. |
UpdateDomainResponse.Builder |
supportedProtocols(Iterable<? extends Protocol> elements)
Sets or replaces all elements for
supportedProtocols list. |
UpdateDomainResponse.Builder |
supportedProtocols(Protocol... elements)
Adds elements to
supportedProtocols list. |
UpdateDomainResponse.Builder |
updatedAt(String updatedAt)
Initializes the value for the
updatedAt attribute. |
public final UpdateDomainResponse.Builder from(Domain instance)
org.cloudfoundry.client.v3.domains.Domain instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateDomainResponse.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 UpdateDomainResponse.Builder from(UpdateDomainResponse instance)
UpdateDomainResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateDomainResponse.Builder from(org.cloudfoundry.client.v3.domains._UpdateDomainResponse instance)
_UpdateDomainResponse instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateDomainResponse.Builder createdAt(String createdAt)
createdAt attribute.createdAt - The value for createdAtthis builder for use in a chained invocationpublic final UpdateDomainResponse.Builder id(String id)
id attribute.id - The value for idthis builder for use in a chained invocationpublic final UpdateDomainResponse.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 UpdateDomainResponse.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 UpdateDomainResponse.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 UpdateDomainResponse.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 UpdateDomainResponse.Builder updatedAt(String updatedAt)
updatedAt attribute.updatedAt - The value for updatedAt (can be null)this builder for use in a chained invocationpublic final UpdateDomainResponse.Builder metadata(Metadata metadata)
metadata attribute.metadata - The value for metadata (can be null)this builder for use in a chained invocationpublic final UpdateDomainResponse.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final UpdateDomainResponse.Builder relationships(DomainRelationships relationships)
relationships attribute.relationships - The value for relationshipsthis builder for use in a chained invocationpublic final UpdateDomainResponse.Builder routerGroup(RouterGroup routerGroup)
routerGroup attribute.routerGroup - The value for routerGroup (can be null)this builder for use in a chained invocationpublic final UpdateDomainResponse.Builder supportedProtocol(Protocol element)
supportedProtocols list.element - A supportedProtocols elementthis builder for use in a chained invocationpublic final UpdateDomainResponse.Builder supportedProtocols(Protocol... elements)
supportedProtocols list.elements - An array of supportedProtocols elementsthis builder for use in a chained invocationpublic final UpdateDomainResponse.Builder supportedProtocols(Iterable<? extends Protocol> elements)
supportedProtocols list.elements - An iterable of supportedProtocols elementsthis builder for use in a chained invocationpublic final UpdateDomainResponse.Builder addAllSupportedProtocols(Iterable<? extends Protocol> elements)
supportedProtocols list.elements - An iterable of supportedProtocols elementsthis builder for use in a chained invocationpublic final UpdateDomainResponse.Builder isInternal(boolean isInternal)
isInternal attribute.isInternal - The value for isInternalthis builder for use in a chained invocationpublic UpdateDomainResponse build()
UpdateDomainResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.