public static final class EdJsonStoreResult.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ch.ralscha.extdirectspring.bean.ImmutableEdJsonStoreResult |
build()
Builds a new
ImmutableEdJsonStoreResult. |
EdJsonStoreResult.Builder |
from(EdJsonStoreResult instance)
Fill a builder with attribute values from the provided
EdJsonStoreResult instance. |
EdJsonStoreResult.Builder |
message(String message)
Initializes the value for the
message attribute. |
EdJsonStoreResult.Builder |
metaData(MetaData metaData)
Initializes the value for the
metaData attribute. |
EdJsonStoreResult.Builder |
records(Collection<String> records)
Initializes the value for the
records attribute. |
EdJsonStoreResult.Builder |
success(Boolean success)
Initializes the value for the
success attribute. |
EdJsonStoreResult.Builder |
total(Long total)
Initializes the value for the
total attribute. |
public final EdJsonStoreResult.Builder from(EdJsonStoreResult instance)
EdJsonStoreResult 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 EdJsonStoreResult.Builder records(Collection<String> records)
records attribute.records - The value for recordsthis builder for use in a chained invocationpublic final EdJsonStoreResult.Builder total(Long total)
total attribute.total - The value for total (can be null)this builder for use in a chained invocationpublic final EdJsonStoreResult.Builder success(Boolean success)
success attribute.success - The value for success (can be null)this builder for use in a chained invocationpublic final EdJsonStoreResult.Builder metaData(MetaData metaData)
metaData attribute.metaData - The value for metaData (can be null)this builder for use in a chained invocationpublic final EdJsonStoreResult.Builder message(String message)
message attribute.message - The value for message (can be null)this builder for use in a chained invocationpublic ch.ralscha.extdirectspring.bean.ImmutableEdJsonStoreResult build()
ImmutableEdJsonStoreResult.IllegalStateException - if any required attributes are missingCopyright © 2010–2016. All rights reserved.