public static final class GetApplicationCurrentDropletRelationshipResponse.Builder extends Object
GetApplicationCurrentDropletRelationshipResponse
.
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.
public final GetApplicationCurrentDropletRelationshipResponse.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 GetApplicationCurrentDropletRelationshipResponse.Builder from(GetApplicationCurrentDropletRelationshipResponse instance)
GetApplicationCurrentDropletRelationshipResponse
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletRelationshipResponse.Builder data(Relationship data)
data
attribute.data
- The value for data (can be null
)this
builder for use in a chained invocationpublic final GetApplicationCurrentDropletRelationshipResponse.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 GetApplicationCurrentDropletRelationshipResponse.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 GetApplicationCurrentDropletRelationshipResponse.Builder links(Map<String,? extends Link> links)
links
map. Nulls are not permittedlinks
- The entries that will be added to the links mapthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletRelationshipResponse.Builder putAllLinks(Map<String,? extends Link> links)
links
map. Nulls are not permittedlinks
- The entries that will be added to the links mapthis
builder for use in a chained invocationpublic GetApplicationCurrentDropletRelationshipResponse build()
GetApplicationCurrentDropletRelationshipResponse
.IllegalStateException
- if any required attributes are missingCopyright © 2018 Pivotal Software, Inc.. All rights reserved.