public static final class GetApplicationCurrentDropletResponse.Builder extends Object
GetApplicationCurrentDropletResponse
.
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 GetApplicationCurrentDropletResponse.Builder from(Droplet instance)
org.cloudfoundry.client.v3.droplets.Droplet
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder from(Resource instance)
org.cloudfoundry.client.v3.Resource
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder from(GetApplicationCurrentDropletResponse instance)
GetApplicationCurrentDropletResponse
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder buildpack(Buildpack element)
buildpacks
list.element
- A buildpacks elementthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder buildpack(Buildpack... elements)
buildpacks
list.elements
- An array of buildpacks elementsthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder buildpacks(Iterable<? extends Buildpack> elements)
buildpacks
list.elements
- An iterable of buildpacks elementsthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder addAllBuildpacks(Iterable<? extends Buildpack> elements)
buildpacks
list.elements
- An iterable of buildpacks elementsthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder checksum(Checksum checksum)
checksum
attribute.checksum
- The value for checksum (can be null
)this
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder error(String error)
error
attribute.error
- The value for error (can be null
)this
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder executionMetadata(String executionMetadata)
executionMetadata
attribute.executionMetadata
- The value for executionMetadatathis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder image(String image)
image
attribute.image
- The value for image (can be null
)this
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder lifecycle(Lifecycle lifecycle)
lifecycle
attribute.lifecycle
- The value for lifecyclethis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder processType(String key, String value)
processTypes
map.key
- The key in the processTypes mapvalue
- The associated value in the processTypes mapthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder processType(Map.Entry<String,? extends String> entry)
processTypes
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder processTypes(Map<String,? extends String> processTypes)
processTypes
map. Nulls are not permitted as keys or values, but parameter itself can be nullprocessTypes
- The entries that will be added to the processTypes mapthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder putAllProcessTypes(Map<String,? extends String> processTypes)
processTypes
map. Nulls are not permittedprocessTypes
- The entries that will be added to the processTypes mapthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder stack(String stack)
stack
attribute.stack
- The value for stack (can be null
)this
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder state(DropletState state)
state
attribute.state
- The value for statethis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder createdAt(String createdAt)
createdAt
attribute.createdAt
- The value for createdAtthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.Builder id(String id)
id
attribute.id
- The value for idthis
builder for use in a chained invocationpublic final GetApplicationCurrentDropletResponse.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 GetApplicationCurrentDropletResponse.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 GetApplicationCurrentDropletResponse.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 GetApplicationCurrentDropletResponse.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 final GetApplicationCurrentDropletResponse.Builder updatedAt(String updatedAt)
updatedAt
attribute.updatedAt
- The value for updatedAtthis
builder for use in a chained invocationpublic GetApplicationCurrentDropletResponse build()
GetApplicationCurrentDropletResponse
.IllegalStateException
- if any required attributes are missingCopyright © 2018 Pivotal Software, Inc.. All rights reserved.