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