| Modifier and Type | Method and Description |
|---|---|
Hash |
build()
Builds a new
Hash. |
Hash.Builder |
from(Hash instance)
Fill a builder with attribute values from the provided
Hash instance. |
Hash.Builder |
type(String type)
Initializes the value for the
type attribute. |
Hash.Builder |
value(String value)
Initializes the value for the
value attribute. |
public final Hash.Builder from(Hash instance)
Hash 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 Hash.Builder type(String type)
type attribute.type - The value for type (can be null)this builder for use in a chained invocationpublic final Hash.Builder value(String value)
value attribute.value - The value for value (can be null)this builder for use in a chained invocationpublic Hash build()
Hash.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.