public static final class UpdateServicePlanResponse.Builder extends Object
UpdateServicePlanResponse.
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 |
|---|---|
UpdateServicePlanResponse.Builder |
addAllCosts(Iterable<? extends Cost> elements)
Adds elements to
costs list. |
UpdateServicePlanResponse.Builder |
available(Boolean available)
Initializes the value for the
available attribute. |
UpdateServicePlanResponse.Builder |
brokerCatalog(BrokerCatalog brokerCatalog)
Initializes the value for the
brokerCatalog attribute. |
UpdateServicePlanResponse |
build()
Builds a new
UpdateServicePlanResponse. |
UpdateServicePlanResponse.Builder |
cost(Cost element)
Adds one element to
costs list. |
UpdateServicePlanResponse.Builder |
costs(Cost... elements)
Adds elements to
costs list. |
UpdateServicePlanResponse.Builder |
costs(Iterable<? extends Cost> elements)
Sets or replaces all elements for
costs list. |
UpdateServicePlanResponse.Builder |
createdAt(String createdAt)
Initializes the value for the
createdAt attribute. |
UpdateServicePlanResponse.Builder |
description(String description)
Initializes the value for the
description attribute. |
UpdateServicePlanResponse.Builder |
free(Boolean free)
Initializes the value for the
free attribute. |
UpdateServicePlanResponse.Builder |
from(org.cloudfoundry.client.v3.serviceplans._UpdateServicePlanResponse instance)
Copy abstract value type
_UpdateServicePlanResponse instance into builder. |
UpdateServicePlanResponse.Builder |
from(Resource instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.Resource instance. |
UpdateServicePlanResponse.Builder |
from(ServicePlan instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.serviceplans.ServicePlan instance. |
UpdateServicePlanResponse.Builder |
from(UpdateServicePlanResponse instance)
Fill a builder with attribute values from the provided
UpdateServicePlanResponse instance. |
UpdateServicePlanResponse.Builder |
id(String id)
Initializes the value for the
id attribute. |
UpdateServicePlanResponse.Builder |
link(Map.Entry<String,? extends Link> entry)
Put one entry to the
links map. |
UpdateServicePlanResponse.Builder |
link(String key,
Link value)
Put one entry to the
links map. |
UpdateServicePlanResponse.Builder |
links(Map<String,? extends Link> entries)
Sets or replaces all mappings from the specified map as entries for the
links map. |
UpdateServicePlanResponse.Builder |
maintenanceInfo(MaintenanceInfo maintenanceInfo)
Initializes the value for the
maintenanceInfo attribute. |
UpdateServicePlanResponse.Builder |
metadata(Metadata metadata)
Initializes the value for the
metadata attribute. |
UpdateServicePlanResponse.Builder |
name(String name)
Initializes the value for the
name attribute. |
UpdateServicePlanResponse.Builder |
putAllLinks(Map<String,? extends Link> entries)
Put all mappings from the specified map as entries to
links map. |
UpdateServicePlanResponse.Builder |
relationships(ServicePlanRelationships relationships)
Initializes the value for the
relationships attribute. |
UpdateServicePlanResponse.Builder |
schemas(Schemas schemas)
Initializes the value for the
schemas attribute. |
UpdateServicePlanResponse.Builder |
updatedAt(String updatedAt)
Initializes the value for the
updatedAt attribute. |
UpdateServicePlanResponse.Builder |
visibilityType(Visibility visibilityType)
Initializes the value for the
visibilityType attribute. |
public final UpdateServicePlanResponse.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 UpdateServicePlanResponse.Builder from(ServicePlan instance)
org.cloudfoundry.client.v3.serviceplans.ServicePlan instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder from(UpdateServicePlanResponse instance)
UpdateServicePlanResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder from(org.cloudfoundry.client.v3.serviceplans._UpdateServicePlanResponse instance)
_UpdateServicePlanResponse instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder createdAt(String createdAt)
createdAt attribute.createdAt - The value for createdAtthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder id(String id)
id attribute.id - The value for idthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.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 UpdateServicePlanResponse.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 UpdateServicePlanResponse.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 UpdateServicePlanResponse.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 UpdateServicePlanResponse.Builder updatedAt(String updatedAt)
updatedAt attribute.updatedAt - The value for updatedAt (can be null)this builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder available(Boolean available)
available attribute.available - The value for availablethis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder brokerCatalog(BrokerCatalog brokerCatalog)
brokerCatalog attribute.brokerCatalog - The value for brokerCatalogthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder cost(Cost element)
costs list.element - A costs elementthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder costs(Cost... elements)
costs list.elements - An array of costs elementsthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder costs(Iterable<? extends Cost> elements)
costs list.elements - An iterable of costs elementsthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder addAllCosts(Iterable<? extends Cost> elements)
costs list.elements - An iterable of costs elementsthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder description(String description)
description attribute.description - The value for descriptionthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder free(Boolean free)
free attribute.free - The value for freethis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder maintenanceInfo(MaintenanceInfo maintenanceInfo)
maintenanceInfo attribute.maintenanceInfo - The value for maintenanceInfo (can be null)this builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder metadata(Metadata metadata)
metadata attribute.metadata - The value for metadata (can be null)this builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder relationships(ServicePlanRelationships relationships)
relationships attribute.relationships - The value for relationshipsthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder schemas(Schemas schemas)
schemas attribute.schemas - The value for schemasthis builder for use in a chained invocationpublic final UpdateServicePlanResponse.Builder visibilityType(Visibility visibilityType)
visibilityType attribute.visibilityType - The value for visibilityTypethis builder for use in a chained invocationpublic UpdateServicePlanResponse build()
UpdateServicePlanResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.