public static final class UpdateServiceInstanceResponse.Builder extends Object
UpdateServiceInstanceResponse.
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 |
|---|---|
UpdateServiceInstanceResponse.Builder |
addAllTags(Iterable<String> elements)
Adds elements to
tags list. |
UpdateServiceInstanceResponse |
build()
Builds a new
UpdateServiceInstanceResponse. |
UpdateServiceInstanceResponse.Builder |
createdAt(String createdAt)
Initializes the value for the
createdAt attribute. |
UpdateServiceInstanceResponse.Builder |
dashboardUrl(String dashboardUrl)
Initializes the value for the
dashboardUrl attribute. |
UpdateServiceInstanceResponse.Builder |
from(org.cloudfoundry.client.v3.serviceInstances._UpdateServiceInstanceResponse instance)
Copy abstract value type
_UpdateServiceInstanceResponse instance into builder. |
UpdateServiceInstanceResponse.Builder |
from(Resource instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.Resource instance. |
UpdateServiceInstanceResponse.Builder |
from(ServiceInstance instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.serviceInstances.ServiceInstance instance. |
UpdateServiceInstanceResponse.Builder |
from(UpdateServiceInstanceResponse instance)
Fill a builder with attribute values from the provided
UpdateServiceInstanceResponse instance. |
UpdateServiceInstanceResponse.Builder |
id(String id)
Initializes the value for the
id attribute. |
UpdateServiceInstanceResponse.Builder |
lastOperation(LastOperation lastOperation)
Initializes the value for the
lastOperation attribute. |
UpdateServiceInstanceResponse.Builder |
link(Map.Entry<String,? extends Link> entry)
Put one entry to the
links map. |
UpdateServiceInstanceResponse.Builder |
link(String key,
Link value)
Put one entry to the
links map. |
UpdateServiceInstanceResponse.Builder |
links(Map<String,? extends Link> entries)
Sets or replaces all mappings from the specified map as entries for the
links map. |
UpdateServiceInstanceResponse.Builder |
maintenanceInfo(MaintenanceInfo maintenanceInfo)
Initializes the value for the
maintenanceInfo attribute. |
UpdateServiceInstanceResponse.Builder |
metadata(Metadata metadata)
Initializes the value for the
metadata attribute. |
UpdateServiceInstanceResponse.Builder |
name(String name)
Initializes the value for the
name attribute. |
UpdateServiceInstanceResponse.Builder |
putAllLinks(Map<String,? extends Link> entries)
Put all mappings from the specified map as entries to
links map. |
UpdateServiceInstanceResponse.Builder |
relationships(ServiceInstanceRelationships relationships)
Initializes the value for the
relationships attribute. |
UpdateServiceInstanceResponse.Builder |
routeServiceUrl(String routeServiceUrl)
Initializes the value for the
routeServiceUrl attribute. |
UpdateServiceInstanceResponse.Builder |
syslogDrainUrl(String syslogDrainUrl)
Initializes the value for the
syslogDrainUrl attribute. |
UpdateServiceInstanceResponse.Builder |
tag(String element)
Adds one element to
tags list. |
UpdateServiceInstanceResponse.Builder |
tags(Iterable<String> elements)
Sets or replaces all elements for
tags list. |
UpdateServiceInstanceResponse.Builder |
tags(String... elements)
Adds elements to
tags list. |
UpdateServiceInstanceResponse.Builder |
type(ServiceInstanceType type)
Initializes the value for the
type attribute. |
UpdateServiceInstanceResponse.Builder |
updateAvailable(Boolean updateAvailable)
Initializes the value for the
updateAvailable attribute. |
UpdateServiceInstanceResponse.Builder |
updatedAt(String updatedAt)
Initializes the value for the
updatedAt attribute. |
public final UpdateServiceInstanceResponse.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 UpdateServiceInstanceResponse.Builder from(ServiceInstance instance)
org.cloudfoundry.client.v3.serviceInstances.ServiceInstance instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder from(UpdateServiceInstanceResponse instance)
UpdateServiceInstanceResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder from(org.cloudfoundry.client.v3.serviceInstances._UpdateServiceInstanceResponse instance)
_UpdateServiceInstanceResponse instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder createdAt(String createdAt)
createdAt attribute.createdAt - The value for createdAtthis builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder id(String id)
id attribute.id - The value for idthis builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.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 UpdateServiceInstanceResponse.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 UpdateServiceInstanceResponse.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 UpdateServiceInstanceResponse.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 UpdateServiceInstanceResponse.Builder updatedAt(String updatedAt)
updatedAt attribute.updatedAt - The value for updatedAt (can be null)this builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder dashboardUrl(String dashboardUrl)
dashboardUrl attribute.dashboardUrl - The value for dashboardUrl (can be null)this builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder lastOperation(LastOperation lastOperation)
lastOperation attribute.lastOperation - The value for lastOperation (can be null)this builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder maintenanceInfo(MaintenanceInfo maintenanceInfo)
maintenanceInfo attribute.maintenanceInfo - The value for maintenanceInfo (can be null)this builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder metadata(Metadata metadata)
metadata attribute.metadata - The value for metadata (can be null)this builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder relationships(ServiceInstanceRelationships relationships)
relationships attribute.relationships - The value for relationships (can be null)this builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder routeServiceUrl(String routeServiceUrl)
routeServiceUrl attribute.routeServiceUrl - The value for routeServiceUrl (can be null)this builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder syslogDrainUrl(String syslogDrainUrl)
syslogDrainUrl attribute.syslogDrainUrl - The value for syslogDrainUrl (can be null)this builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder tag(String element)
tags list.element - A tags elementthis builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder tags(String... elements)
tags list.elements - An array of tags elementsthis builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder tags(Iterable<String> elements)
tags list.elements - An iterable of tags elementsthis builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder addAllTags(Iterable<String> elements)
tags list.elements - An iterable of tags elementsthis builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder type(ServiceInstanceType type)
type attribute.type - The value for type (can be null)this builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder updateAvailable(Boolean updateAvailable)
updateAvailable attribute.updateAvailable - The value for updateAvailable (can be null)this builder for use in a chained invocationpublic UpdateServiceInstanceResponse build()
UpdateServiceInstanceResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.