public static final class MixedActionsResponse.Builder extends Object
MixedActionsResponse.
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 |
|---|---|
MixedActionsResponse.Builder |
addAllClients(Iterable<? extends ActionClient> elements)
Adds elements to
clients list. |
MixedActionsResponse |
build()
Builds a new
MixedActionsResponse. |
MixedActionsResponse.Builder |
client(ActionClient element)
Adds one element to
clients list. |
MixedActionsResponse.Builder |
clients(ActionClient... elements)
Adds elements to
clients list. |
MixedActionsResponse.Builder |
clients(Iterable<? extends ActionClient> elements)
Sets or replaces all elements for
clients list. |
MixedActionsResponse.Builder |
from(MixedActionsResponse instance)
Fill a builder with attribute values from the provided
MixedActionsResponse instance. |
public final MixedActionsResponse.Builder from(MixedActionsResponse instance)
MixedActionsResponse instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final MixedActionsResponse.Builder client(ActionClient element)
clients list.element - A clients elementthis builder for use in a chained invocationpublic final MixedActionsResponse.Builder clients(ActionClient... elements)
clients list.elements - An array of clients elementsthis builder for use in a chained invocationpublic final MixedActionsResponse.Builder clients(Iterable<? extends ActionClient> elements)
clients list.elements - An iterable of clients elementsthis builder for use in a chained invocationpublic final MixedActionsResponse.Builder addAllClients(Iterable<? extends ActionClient> elements)
clients list.elements - An iterable of clients elementsthis builder for use in a chained invocationpublic MixedActionsResponse build()
MixedActionsResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.