public static final class ServiceUsageEventEntity.Builder extends Object
ServiceUsageEventEntity.
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 ServiceUsageEventEntity.Builder from(ServiceUsageEventEntity instance)
ServiceUsageEventEntity 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 ServiceUsageEventEntity.Builder organizationId(String organizationId)
organizationId attribute.organizationId - The value for organizationId (can be null)this builder for use in a chained invocationpublic final ServiceUsageEventEntity.Builder serviceBrokerId(String serviceBrokerId)
serviceBrokerId attribute.serviceBrokerId - The value for serviceBrokerId (can be null)this builder for use in a chained invocationpublic final ServiceUsageEventEntity.Builder serviceBrokerName(String serviceBrokerName)
serviceBrokerName attribute.serviceBrokerName - The value for serviceBrokerName (can be null)this builder for use in a chained invocationpublic final ServiceUsageEventEntity.Builder serviceId(String serviceId)
serviceId attribute.serviceId - The value for serviceId (can be null)this builder for use in a chained invocationpublic final ServiceUsageEventEntity.Builder serviceInstanceId(String serviceInstanceId)
serviceInstanceId attribute.serviceInstanceId - The value for serviceInstanceId (can be null)this builder for use in a chained invocationpublic final ServiceUsageEventEntity.Builder serviceInstanceName(String serviceInstanceName)
serviceInstanceName attribute.serviceInstanceName - The value for serviceInstanceName (can be null)this builder for use in a chained invocationpublic final ServiceUsageEventEntity.Builder serviceInstanceType(String serviceInstanceType)
serviceInstanceType attribute.serviceInstanceType - The value for serviceInstanceType (can be null)this builder for use in a chained invocationpublic final ServiceUsageEventEntity.Builder serviceLabel(String serviceLabel)
serviceLabel attribute.serviceLabel - The value for serviceLabel (can be null)this builder for use in a chained invocationpublic final ServiceUsageEventEntity.Builder servicePlanId(String servicePlanId)
servicePlanId attribute.servicePlanId - The value for servicePlanId (can be null)this builder for use in a chained invocationpublic final ServiceUsageEventEntity.Builder servicePlanName(String servicePlanName)
servicePlanName attribute.servicePlanName - The value for servicePlanName (can be null)this builder for use in a chained invocationpublic final ServiceUsageEventEntity.Builder spaceId(String spaceId)
spaceId attribute.spaceId - The value for spaceId (can be null)this builder for use in a chained invocationpublic final ServiceUsageEventEntity.Builder spaceName(String spaceName)
spaceName attribute.spaceName - The value for spaceName (can be null)this builder for use in a chained invocationpublic final ServiceUsageEventEntity.Builder state(String state)
state attribute.state - The value for state (can be null)this builder for use in a chained invocationpublic ServiceUsageEventEntity build()
ServiceUsageEventEntity.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.