public static final class SetApplicationCurrentDropletResponse.Builder extends Object
SetApplicationCurrentDropletResponse.
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 |
|---|---|
SetApplicationCurrentDropletResponse |
build()
Builds a new
SetApplicationCurrentDropletResponse. |
SetApplicationCurrentDropletResponse.Builder |
data(Relationship data)
Initializes the value for the
data attribute. |
SetApplicationCurrentDropletResponse.Builder |
from(org.cloudfoundry.client.v3.applications._SetApplicationCurrentDropletResponse instance)
Copy abstract value type
_SetApplicationCurrentDropletResponse instance into builder. |
SetApplicationCurrentDropletResponse.Builder |
from(RelationshipResponse instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.RelationshipResponse instance. |
SetApplicationCurrentDropletResponse.Builder |
from(SetApplicationCurrentDropletResponse instance)
Fill a builder with attribute values from the provided
SetApplicationCurrentDropletResponse instance. |
SetApplicationCurrentDropletResponse.Builder |
link(Map.Entry<String,? extends Link> entry)
Put one entry to the
links map. |
SetApplicationCurrentDropletResponse.Builder |
link(String key,
Link value)
Put one entry to the
links map. |
SetApplicationCurrentDropletResponse.Builder |
links(Map<String,? extends Link> entries)
Sets or replaces all mappings from the specified map as entries for the
links map. |
SetApplicationCurrentDropletResponse.Builder |
putAllLinks(Map<String,? extends Link> entries)
Put all mappings from the specified map as entries to
links map. |
public final SetApplicationCurrentDropletResponse.Builder from(RelationshipResponse instance)
org.cloudfoundry.client.v3.RelationshipResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final SetApplicationCurrentDropletResponse.Builder from(SetApplicationCurrentDropletResponse instance)
SetApplicationCurrentDropletResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final SetApplicationCurrentDropletResponse.Builder from(org.cloudfoundry.client.v3.applications._SetApplicationCurrentDropletResponse instance)
_SetApplicationCurrentDropletResponse instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final SetApplicationCurrentDropletResponse.Builder data(Relationship data)
data attribute.data - The value for data (can be null)this builder for use in a chained invocationpublic final SetApplicationCurrentDropletResponse.Builder link(String key, Link value)
links map.key - The key in the links mapvalue - The associated value in the links mapthis builder for use in a chained invocationpublic final SetApplicationCurrentDropletResponse.Builder link(Map.Entry<String,? extends Link> entry)
links map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final SetApplicationCurrentDropletResponse.Builder links(Map<String,? extends Link> entries)
links map. Nulls are not permittedentries - The entries that will be added to the links mapthis builder for use in a chained invocationpublic final SetApplicationCurrentDropletResponse.Builder putAllLinks(Map<String,? extends Link> entries)
links map. Nulls are not permittedentries - The entries that will be added to the links mapthis builder for use in a chained invocationpublic SetApplicationCurrentDropletResponse build()
SetApplicationCurrentDropletResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.