public static final class UpdateServiceBrokerRequest.Builder extends Object
UpdateServiceBrokerRequest.
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 |
|---|---|
UpdateServiceBrokerRequest.Builder |
authentication(org.cloudfoundry.client.v3.servicebrokers.Authentication authentication)
Initializes the value for the
authentication attribute. |
UpdateServiceBrokerRequest |
build()
Builds a new
UpdateServiceBrokerRequest. |
UpdateServiceBrokerRequest.Builder |
from(UpdateServiceBrokerRequest instance)
Fill a builder with attribute values from the provided
UpdateServiceBrokerRequest instance. |
UpdateServiceBrokerRequest.Builder |
metadata(Metadata metadata)
Initializes the value for the
metadata attribute. |
UpdateServiceBrokerRequest.Builder |
name(String name)
Initializes the value for the
name attribute. |
UpdateServiceBrokerRequest.Builder |
serviceBrokerId(String serviceBrokerId)
Initializes the value for the
serviceBrokerId attribute. |
UpdateServiceBrokerRequest.Builder |
url(String url)
Initializes the value for the
url attribute. |
public final UpdateServiceBrokerRequest.Builder from(UpdateServiceBrokerRequest instance)
UpdateServiceBrokerRequest instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateServiceBrokerRequest.Builder authentication(org.cloudfoundry.client.v3.servicebrokers.Authentication authentication)
authentication attribute.authentication - The value for authentication (can be null)this builder for use in a chained invocationpublic final UpdateServiceBrokerRequest.Builder name(String name)
name attribute.name - The value for name (can be null)this builder for use in a chained invocationpublic final UpdateServiceBrokerRequest.Builder metadata(Metadata metadata)
metadata attribute.metadata - The value for metadata (can be null)this builder for use in a chained invocationpublic final UpdateServiceBrokerRequest.Builder serviceBrokerId(String serviceBrokerId)
serviceBrokerId attribute.serviceBrokerId - The value for serviceBrokerIdthis builder for use in a chained invocationpublic final UpdateServiceBrokerRequest.Builder url(String url)
url attribute.url - The value for url (can be null)this builder for use in a chained invocationpublic UpdateServiceBrokerRequest build()
UpdateServiceBrokerRequest.IllegalStateException - if any required attributes are missingCopyright © 2022. All rights reserved.