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