public class UrlReference
extends java.lang.Object
implements java.io.Serializable
The URL reference.
| Constructor and Description |
|---|
UrlReference() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Identifier of the URL reference.
|
java.lang.String |
getValue()
A valid URL.
|
int |
hashCode() |
void |
setName(java.lang.String name)
Identifier of the URL reference.
|
void |
setValue(java.lang.String value)
A valid URL.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UrlReference |
withName(java.lang.String name)
Identifier of the URL reference.
|
UrlReference |
withValue(java.lang.String value)
A valid URL.
|
public java.lang.String getName()
Identifier of the URL reference.
Constraints:
Length: 1 - 4096
Identifier of the URL reference.
public void setName(java.lang.String name)
Identifier of the URL reference.
Constraints:
Length: 1 - 4096
name - Identifier of the URL reference.
public UrlReference withName(java.lang.String name)
Identifier of the URL reference.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 4096
name - Identifier of the URL reference.
public java.lang.String getValue()
A valid URL.
Constraints:
Length: 0 - 4096
A valid URL.
public void setValue(java.lang.String value)
A valid URL.
Constraints:
Length: 0 - 4096
value - A valid URL.
public UrlReference withValue(java.lang.String value)
A valid URL.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4096
value - A valid URL.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object