public static final class ServicePlanVisibilityEntity.Builder extends Object
ServicePlanVisibilityEntity.
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 |
|---|---|
ServicePlanVisibilityEntity |
build()
Builds a new
ServicePlanVisibilityEntity. |
ServicePlanVisibilityEntity.Builder |
from(ServicePlanVisibilityEntity instance)
Fill a builder with attribute values from the provided
ServicePlanVisibilityEntity instance. |
ServicePlanVisibilityEntity.Builder |
organizationId(String organizationId)
Initializes the value for the
organizationId attribute. |
ServicePlanVisibilityEntity.Builder |
organizationUrl(String organizationUrl)
Initializes the value for the
organizationUrl attribute. |
ServicePlanVisibilityEntity.Builder |
servicePlanId(String servicePlanId)
Initializes the value for the
servicePlanId attribute. |
ServicePlanVisibilityEntity.Builder |
servicePlanUrl(String servicePlanUrl)
Initializes the value for the
servicePlanUrl attribute. |
public final ServicePlanVisibilityEntity.Builder from(ServicePlanVisibilityEntity instance)
ServicePlanVisibilityEntity instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ServicePlanVisibilityEntity.Builder organizationId(String organizationId)
organizationId attribute.organizationId - The value for organizationId (can be null)this builder for use in a chained invocationpublic final ServicePlanVisibilityEntity.Builder organizationUrl(String organizationUrl)
organizationUrl attribute.organizationUrl - The value for organizationUrl (can be null)this builder for use in a chained invocationpublic final ServicePlanVisibilityEntity.Builder servicePlanId(String servicePlanId)
servicePlanId attribute.servicePlanId - The value for servicePlanId (can be null)this builder for use in a chained invocationpublic final ServicePlanVisibilityEntity.Builder servicePlanUrl(String servicePlanUrl)
servicePlanUrl attribute.servicePlanUrl - The value for servicePlanUrl (can be null)this builder for use in a chained invocationpublic ServicePlanVisibilityEntity build()
ServicePlanVisibilityEntity.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.