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