Class CredentialUri
- All Implemented Interfaces:
Serializable,Comparable<Wrapper<String>>
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class CredentialUri
extends Wrapper<String>
A wrapped
String containing a Credential Uri.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static CredentialUriConstruct a new immutableCredentialUriinstance.static CredentialUriofPlainText(String plaintext) Constructs anCredentialUriusing a String value.toString()voidValidates that aCredentialUri's value is encoded in hexadecimal characters.voidValidates that aCredentialUri's value's length is capped at 512 characters.value()The wrapped value.
-
Method Details
-
value
The wrapped value. -
of
Construct a new immutableCredentialUriinstance.- Parameters:
value- The value for thevalueattribute- Returns:
- An immutable CredentialUri instance
-
ofPlainText
Constructs anCredentialUriusing a String value.- Parameters:
plaintext- A string value representing the Uri in plaintext.- Returns:
- An
CredentialUriof plaintext.
-
validateLength
@Check public void validateLength()Validates that aCredentialUri's value's length is capped at 512 characters. -
validateHexEncoding
@Check public void validateHexEncoding()Validates that aCredentialUri's value is encoded in hexadecimal characters. -
toString
-
equals
-
hashCode
public int hashCode()
-