public static final class ChangeUserPasswordResponse.Builder extends Object
ChangeUserPasswordResponse.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ChangeUserPasswordResponse |
build()
Builds a new
ChangeUserPasswordResponse. |
ChangeUserPasswordResponse.Builder |
from(ChangeUserPasswordResponse instance)
Fill a builder with attribute values from the provided
ChangeUserPasswordResponse instance. |
ChangeUserPasswordResponse.Builder |
message(String message)
Initializes the value for the
message attribute. |
ChangeUserPasswordResponse.Builder |
status(String status)
Initializes the value for the
status attribute. |
public final ChangeUserPasswordResponse.Builder from(ChangeUserPasswordResponse instance)
ChangeUserPasswordResponse 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 ChangeUserPasswordResponse.Builder message(String message)
message attribute.message - The value for messagethis builder for use in a chained invocationpublic final ChangeUserPasswordResponse.Builder status(String status)
status attribute.status - The value for statusthis builder for use in a chained invocationpublic ChangeUserPasswordResponse build()
ChangeUserPasswordResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.