| Modifier and Type | Method and Description |
|---|---|
Schema |
build()
Builds a new
Schema. |
Schema.Builder |
from(Schema instance)
Fill a builder with attribute values from the provided
Schema instance. |
Schema.Builder |
parameter(Map.Entry<String,? extends String> entry)
Put one entry to the
parameters map. |
Schema.Builder |
parameter(String key,
String value)
Put one entry to the
parameters map. |
Schema.Builder |
parameters(Map<String,? extends String> parameters)
Sets or replaces all mappings from the specified map as entries for the
parameters map. |
Schema.Builder |
putAllParameters(Map<String,? extends String> parameters)
Put all mappings from the specified map as entries to
parameters map. |
public final Schema.Builder from(Schema instance)
Schema 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 Schema.Builder parameter(String key, String value)
parameters map.key - The key in the parameters mapvalue - The associated value in the parameters mapthis builder for use in a chained invocationpublic final Schema.Builder parameter(Map.Entry<String,? extends String> entry)
parameters map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final Schema.Builder parameters(Map<String,? extends String> parameters)
parameters map. Nulls are not permittedparameters - The entries that will be added to the parameters mapthis builder for use in a chained invocationpublic final Schema.Builder putAllParameters(Map<String,? extends String> parameters)
parameters map. Nulls are not permittedparameters - The entries that will be added to the parameters mapthis builder for use in a chained invocationpublic Schema build()
Schema.IllegalStateException - if any required attributes are missingCopyright © 2018 Pivotal Software, Inc.. All rights reserved.