public static final class ImmutableCloudServiceBroker.Builder extends Object
ImmutableCloudServiceBroker.
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 |
|---|---|
ImmutableCloudServiceBroker |
build()
Builds a new
ImmutableCloudServiceBroker. |
ImmutableCloudServiceBroker.Builder |
from(CloudEntity instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.lib.domain.CloudEntity instance. |
ImmutableCloudServiceBroker.Builder |
from(CloudServiceBroker instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.lib.domain.CloudServiceBroker instance. |
ImmutableCloudServiceBroker.Builder |
metadata(CloudMetadata metadata)
Initializes the value for the
metadata attribute. |
ImmutableCloudServiceBroker.Builder |
name(String name)
Initializes the value for the
name attribute. |
ImmutableCloudServiceBroker.Builder |
password(String password)
Initializes the value for the
password attribute. |
ImmutableCloudServiceBroker.Builder |
spaceGuid(String spaceGuid)
Initializes the value for the
spaceGuid attribute. |
ImmutableCloudServiceBroker.Builder |
url(String url)
Initializes the value for the
url attribute. |
ImmutableCloudServiceBroker.Builder |
username(String username)
Initializes the value for the
username attribute. |
ImmutableCloudServiceBroker.Builder |
v3Metadata(org.cloudfoundry.client.v3.Metadata v3Metadata)
Initializes the value for the
v3Metadata attribute. |
public final ImmutableCloudServiceBroker.Builder from(CloudEntity instance)
org.cloudfoundry.client.lib.domain.CloudEntity instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableCloudServiceBroker.Builder from(CloudServiceBroker instance)
org.cloudfoundry.client.lib.domain.CloudServiceBroker instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableCloudServiceBroker.Builder name(String name)
name attribute.name - The value for name (can be null)this builder for use in a chained invocationpublic final ImmutableCloudServiceBroker.Builder metadata(CloudMetadata metadata)
metadata attribute.metadata - The value for metadata (can be null)this builder for use in a chained invocationpublic final ImmutableCloudServiceBroker.Builder v3Metadata(org.cloudfoundry.client.v3.Metadata v3Metadata)
v3Metadata attribute.v3Metadata - The value for v3Metadata (can be null)this builder for use in a chained invocationpublic final ImmutableCloudServiceBroker.Builder username(String username)
username attribute.username - The value for username (can be null)this builder for use in a chained invocationpublic final ImmutableCloudServiceBroker.Builder password(String password)
password attribute.password - The value for password (can be null)this builder for use in a chained invocationpublic final ImmutableCloudServiceBroker.Builder url(String url)
url attribute.url - The value for url (can be null)this builder for use in a chained invocationpublic final ImmutableCloudServiceBroker.Builder spaceGuid(String spaceGuid)
spaceGuid attribute.spaceGuid - The value for spaceGuid (can be null)this builder for use in a chained invocationpublic ImmutableCloudServiceBroker build()
ImmutableCloudServiceBroker.IllegalStateException - if any required attributes are missingCopyright © 2020 SAP SE. All rights reserved.