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