public static final class GetApplicationFeatureResponse.Builder extends Object
GetApplicationFeatureResponse.
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 |
|---|---|
GetApplicationFeatureResponse |
build()
Builds a new
GetApplicationFeatureResponse. |
GetApplicationFeatureResponse.Builder |
description(String description)
Initializes the value for the
description attribute. |
GetApplicationFeatureResponse.Builder |
enabled(Boolean enabled)
Initializes the value for the
enabled attribute. |
GetApplicationFeatureResponse.Builder |
from(org.cloudfoundry.client.v3.applications._GetApplicationFeatureResponse instance)
Copy abstract value type
_GetApplicationFeatureResponse instance into builder. |
GetApplicationFeatureResponse.Builder |
from(ApplicationFeature instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.applications.ApplicationFeature instance. |
GetApplicationFeatureResponse.Builder |
from(GetApplicationFeatureResponse instance)
Fill a builder with attribute values from the provided
GetApplicationFeatureResponse instance. |
GetApplicationFeatureResponse.Builder |
name(String name)
Initializes the value for the
name attribute. |
public final GetApplicationFeatureResponse.Builder from(ApplicationFeature instance)
org.cloudfoundry.client.v3.applications.ApplicationFeature instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetApplicationFeatureResponse.Builder from(GetApplicationFeatureResponse instance)
GetApplicationFeatureResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetApplicationFeatureResponse.Builder from(org.cloudfoundry.client.v3.applications._GetApplicationFeatureResponse instance)
_GetApplicationFeatureResponse instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetApplicationFeatureResponse.Builder description(String description)
description attribute.description - The value for description (can be null)this builder for use in a chained invocationpublic final GetApplicationFeatureResponse.Builder enabled(Boolean enabled)
enabled attribute.enabled - The value for enabled (can be null)this builder for use in a chained invocationpublic final GetApplicationFeatureResponse.Builder name(String name)
name attribute.name - The value for name (can be null)this builder for use in a chained invocationpublic GetApplicationFeatureResponse build()
GetApplicationFeatureResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.