public static final class GetApplicationProcessStatisticsResponse.Builder extends Object
GetApplicationProcessStatisticsResponse.
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 |
|---|---|
GetApplicationProcessStatisticsResponse.Builder |
addAllResources(Iterable<? extends ProcessStatisticsResource> elements)
Adds elements to
resources list. |
GetApplicationProcessStatisticsResponse |
build()
Builds a new
GetApplicationProcessStatisticsResponse. |
GetApplicationProcessStatisticsResponse.Builder |
from(GetApplicationProcessStatisticsResponse instance)
Fill a builder with attribute values from the provided
GetApplicationProcessStatisticsResponse instance. |
GetApplicationProcessStatisticsResponse.Builder |
resource(ProcessStatisticsResource element)
Adds one element to
resources list. |
GetApplicationProcessStatisticsResponse.Builder |
resources(Iterable<? extends ProcessStatisticsResource> elements)
Sets or replaces all elements for
resources list. |
GetApplicationProcessStatisticsResponse.Builder |
resources(ProcessStatisticsResource... elements)
Adds elements to
resources list. |
public final GetApplicationProcessStatisticsResponse.Builder from(GetApplicationProcessStatisticsResponse instance)
GetApplicationProcessStatisticsResponse 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 GetApplicationProcessStatisticsResponse.Builder resource(ProcessStatisticsResource element)
resources list.element - A resources elementthis builder for use in a chained invocationpublic final GetApplicationProcessStatisticsResponse.Builder resources(ProcessStatisticsResource... elements)
resources list.elements - An array of resources elementsthis builder for use in a chained invocationpublic final GetApplicationProcessStatisticsResponse.Builder resources(Iterable<? extends ProcessStatisticsResource> elements)
resources list.elements - An iterable of resources elementsthis builder for use in a chained invocationpublic final GetApplicationProcessStatisticsResponse.Builder addAllResources(Iterable<? extends ProcessStatisticsResource> elements)
resources list.elements - An iterable of resources elementsthis builder for use in a chained invocationpublic GetApplicationProcessStatisticsResponse build()
GetApplicationProcessStatisticsResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.