@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ChallengeResponseIF"}) @Immutable public final class ChallengeResponse extends Object implements ChallengeResponseIF
ChallengeResponseIF.
Use the builder to create immutable instances:
ChallengeResponse.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ChallengeResponse.Builder
Builds instances of type
ChallengeResponse. |
| Modifier and Type | Method and Description |
|---|---|
static ChallengeResponse.Builder |
builder()
Creates a builder for
ChallengeResponse. |
static ChallengeResponse |
copyOf(ChallengeResponseIF instance)
Creates an immutable copy of a
ChallengeResponseIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ChallengeResponse that have equal attribute values. |
String |
getChallenge() |
int |
hashCode()
Computes a hash code from attributes:
challenge. |
String |
toString()
Prints the immutable value
ChallengeResponse with attribute values. |
ChallengeResponse |
withChallenge(String challenge)
Copy the current immutable object by setting a value for the
challenge attribute. |
public String getChallenge()
getChallenge in interface ChallengeResponseIFchallenge attributepublic final ChallengeResponse withChallenge(String challenge)
challenge attribute.
An equals check used to prevent copying of the same value by returning this.challenge - A new value for challengethis objectpublic boolean equals(@Nullable Object another)
ChallengeResponse that have equal attribute values.public int hashCode()
challenge.public String toString()
ChallengeResponse with attribute values.public static ChallengeResponse copyOf(ChallengeResponseIF instance)
ChallengeResponseIF value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ChallengeResponse.Builder builder()
ChallengeResponse.Copyright © 2019. All rights reserved.