public static final class ChangeSecretResponse.Builder extends Object
ChangeSecretResponse.
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 |
|---|---|
ChangeSecretResponse |
build()
Builds a new
ChangeSecretResponse. |
ChangeSecretResponse.Builder |
from(ChangeSecretResponse instance)
Fill a builder with attribute values from the provided
ChangeSecretResponse instance. |
ChangeSecretResponse.Builder |
message(String message)
Initializes the value for the
message attribute. |
ChangeSecretResponse.Builder |
status(String status)
Initializes the value for the
status attribute. |
public final ChangeSecretResponse.Builder from(ChangeSecretResponse instance)
ChangeSecretResponse 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 ChangeSecretResponse.Builder message(String message)
message attribute.message - The value for messagethis builder for use in a chained invocationpublic final ChangeSecretResponse.Builder status(String status)
status attribute.status - The value for statusthis builder for use in a chained invocationpublic ChangeSecretResponse build()
ChangeSecretResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.