public static final class UpdateServicePlanVisibilityResponse.Builder extends Object
UpdateServicePlanVisibilityResponse.
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 |
|---|---|
UpdateServicePlanVisibilityResponse |
build()
Builds a new
UpdateServicePlanVisibilityResponse. |
UpdateServicePlanVisibilityResponse.Builder |
entity(ServicePlanVisibilityEntity entity)
Initializes the value for the
entity attribute. |
UpdateServicePlanVisibilityResponse.Builder |
from(org.cloudfoundry.client.v2.serviceplanvisibilities._UpdateServicePlanVisibilityResponse instance)
Copy abstract value type
_UpdateServicePlanVisibilityResponse instance into builder. |
UpdateServicePlanVisibilityResponse.Builder |
from(AbstractServicePlanVisibilityResource instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v2.serviceplanvisibilities.AbstractServicePlanVisibilityResource instance. |
UpdateServicePlanVisibilityResponse.Builder |
from(UpdateServicePlanVisibilityResponse instance)
Fill a builder with attribute values from the provided
UpdateServicePlanVisibilityResponse instance. |
UpdateServicePlanVisibilityResponse.Builder |
metadata(Metadata metadata)
Initializes the value for the
metadata attribute. |
public final UpdateServicePlanVisibilityResponse.Builder from(AbstractServicePlanVisibilityResource instance)
org.cloudfoundry.client.v2.serviceplanvisibilities.AbstractServicePlanVisibilityResource instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateServicePlanVisibilityResponse.Builder from(UpdateServicePlanVisibilityResponse instance)
UpdateServicePlanVisibilityResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateServicePlanVisibilityResponse.Builder from(org.cloudfoundry.client.v2.serviceplanvisibilities._UpdateServicePlanVisibilityResponse instance)
_UpdateServicePlanVisibilityResponse instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateServicePlanVisibilityResponse.Builder entity(ServicePlanVisibilityEntity entity)
entity attribute.entity - The value for entity (can be null)this builder for use in a chained invocationpublic final UpdateServicePlanVisibilityResponse.Builder metadata(Metadata metadata)
metadata attribute.metadata - The value for metadata (can be null)this builder for use in a chained invocationpublic UpdateServicePlanVisibilityResponse build()
UpdateServicePlanVisibilityResponse.IllegalStateException - if any required attributes are missingCopyright © 2024. All rights reserved.