public static final class GetOrganizationDefaultDomainResponse.Builder extends Object
GetOrganizationDefaultDomainResponse.
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.
public final GetOrganizationDefaultDomainResponse.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 GetOrganizationDefaultDomainResponse.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 GetOrganizationDefaultDomainResponse.Builder from(GetOrganizationDefaultDomainResponse instance)
GetOrganizationDefaultDomainResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.Builder from(org.cloudfoundry.client.v3.organizations._GetOrganizationDefaultDomainResponse instance)
_GetOrganizationDefaultDomainResponse instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.Builder createdAt(String createdAt)
createdAt attribute.createdAt - The value for createdAtthis builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.Builder id(String id)
id attribute.id - The value for idthis builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.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 GetOrganizationDefaultDomainResponse.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 GetOrganizationDefaultDomainResponse.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 GetOrganizationDefaultDomainResponse.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 GetOrganizationDefaultDomainResponse.Builder updatedAt(String updatedAt)
updatedAt attribute.updatedAt - The value for updatedAt (can be null)this builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.Builder metadata(Metadata metadata)
metadata attribute.metadata - The value for metadata (can be null)this builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.Builder relationships(DomainRelationships relationships)
relationships attribute.relationships - The value for relationshipsthis builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.Builder routerGroup(RouterGroup routerGroup)
routerGroup attribute.routerGroup - The value for routerGroup (can be null)this builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.Builder supportedProtocol(Protocol element)
supportedProtocols list.element - A supportedProtocols elementthis builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.Builder supportedProtocols(Protocol... elements)
supportedProtocols list.elements - An array of supportedProtocols elementsthis builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.Builder supportedProtocols(Iterable<? extends Protocol> elements)
supportedProtocols list.elements - An iterable of supportedProtocols elementsthis builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.Builder addAllSupportedProtocols(Iterable<? extends Protocol> elements)
supportedProtocols list.elements - An iterable of supportedProtocols elementsthis builder for use in a chained invocationpublic final GetOrganizationDefaultDomainResponse.Builder isInternal(boolean isInternal)
isInternal attribute.isInternal - The value for isInternalthis builder for use in a chained invocationpublic GetOrganizationDefaultDomainResponse build()
GetOrganizationDefaultDomainResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.