@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class URL extends Object implements Serializable, Cloneable, StructuredPojo
Short for uniform resource locator. A URL is used as a unique identifier to locate a resource on the internet.
Constructor and Description |
---|
URL() |
Modifier and Type | Method and Description |
---|---|
URL |
clone() |
boolean |
equals(Object obj) |
String |
getHyperlinkName()
The name or word that's used as a hyperlink to the URL.
|
String |
getLink()
The unique identifier for the internet resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHyperlinkName(String hyperlinkName)
The name or word that's used as a hyperlink to the URL.
|
void |
setLink(String link)
The unique identifier for the internet resource.
|
String |
toString()
Returns a string representation of this object.
|
URL |
withHyperlinkName(String hyperlinkName)
The name or word that's used as a hyperlink to the URL.
|
URL |
withLink(String link)
The unique identifier for the internet resource.
|
public void setHyperlinkName(String hyperlinkName)
The name or word that's used as a hyperlink to the URL.
hyperlinkName
- The name or word that's used as a hyperlink to the URL.public String getHyperlinkName()
The name or word that's used as a hyperlink to the URL.
public URL withHyperlinkName(String hyperlinkName)
The name or word that's used as a hyperlink to the URL.
hyperlinkName
- The name or word that's used as a hyperlink to the URL.public void setLink(String link)
The unique identifier for the internet resource.
link
- The unique identifier for the internet resource.public String getLink()
The unique identifier for the internet resource.
public URL withLink(String link)
The unique identifier for the internet resource.
link
- The unique identifier for the internet resource.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.