public static final class UpdateServicePlanVisibilityResponse.Builder extends Object
UpdateServicePlanVisibilityResponse.
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 UpdateServicePlanVisibilityResponse.Builder from(UpdateServicePlanVisibilityResponse instance)
UpdateServicePlanVisibilityResponse 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 UpdateServicePlanVisibilityResponse.Builder type(Visibility type)
type attribute.type - The value for typethis builder for use in a chained invocationpublic final UpdateServicePlanVisibilityResponse.Builder organization(Organization element)
organizations list.element - A organizations elementthis builder for use in a chained invocationpublic final UpdateServicePlanVisibilityResponse.Builder organizations(Organization... elements)
organizations list.elements - An array of organizations elementsthis builder for use in a chained invocationpublic final UpdateServicePlanVisibilityResponse.Builder organizations(Iterable<? extends Organization> elements)
organizations list.elements - An iterable of organizations elementsthis builder for use in a chained invocationpublic final UpdateServicePlanVisibilityResponse.Builder addAllOrganizations(Iterable<? extends Organization> elements)
organizations list.elements - An iterable of organizations elementsthis builder for use in a chained invocationpublic UpdateServicePlanVisibilityResponse build()
UpdateServicePlanVisibilityResponse.IllegalStateException - if any required attributes are missingCopyright © 2024. All rights reserved.