public static final class ListIsolationSegmentsResponse.Builder extends Object
ListIsolationSegmentsResponse.
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 ListIsolationSegmentsResponse.Builder from(ListIsolationSegmentsResponse instance)
ListIsolationSegmentsResponse 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 ListIsolationSegmentsResponse.Builder pagination(Pagination pagination)
pagination attribute.pagination - The value for pagination (can be null)this builder for use in a chained invocationpublic final ListIsolationSegmentsResponse.Builder resource(IsolationSegmentResource element)
resources list.element - A resources elementthis builder for use in a chained invocationpublic final ListIsolationSegmentsResponse.Builder resources(IsolationSegmentResource... elements)
resources list.elements - An array of resources elementsthis builder for use in a chained invocationpublic final ListIsolationSegmentsResponse.Builder resources(Iterable<? extends IsolationSegmentResource> elements)
resources list.elements - An iterable of resources elementsthis builder for use in a chained invocationpublic final ListIsolationSegmentsResponse.Builder addAllResources(Iterable<? extends IsolationSegmentResource> elements)
resources list.elements - An iterable of resources elementsthis builder for use in a chained invocationpublic ListIsolationSegmentsResponse build()
ListIsolationSegmentsResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.