public static final class ExpirePasswordResponse.Builder extends Object
ExpirePasswordResponse.
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 |
|---|---|
ExpirePasswordResponse |
build()
Builds a new
ExpirePasswordResponse. |
ExpirePasswordResponse.Builder |
from(ExpirePasswordResponse instance)
Fill a builder with attribute values from the provided
ExpirePasswordResponse instance. |
ExpirePasswordResponse.Builder |
locked(Boolean locked)
Initializes the value for the
locked attribute. |
ExpirePasswordResponse.Builder |
passwordChangeRequired(Boolean passwordChangeRequired)
Initializes the value for the
passwordChangeRequired attribute. |
public final ExpirePasswordResponse.Builder from(ExpirePasswordResponse instance)
ExpirePasswordResponse 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 ExpirePasswordResponse.Builder locked(Boolean locked)
locked attribute.locked - The value for locked (can be null)this builder for use in a chained invocationpublic final ExpirePasswordResponse.Builder passwordChangeRequired(Boolean passwordChangeRequired)
passwordChangeRequired attribute.passwordChangeRequired - The value for passwordChangeRequired (can be null)this builder for use in a chained invocationpublic ExpirePasswordResponse build()
ExpirePasswordResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.