ContentLink Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ContentLink
- com.
Implements
public final class ContentLink
implements JsonSerializable<ContentLink>
The content link.
Constructor Summary
Constructor | Description |
---|---|
ContentLink() |
Creates an instance of Content |
Method Summary
Modifier and Type | Method and Description |
---|---|
Content |
contentHash()
Get the content |
Long |
contentSize()
Get the content |
String |
contentVersion()
Get the content |
static
Content |
fromJson(JsonReader jsonReader)
Reads an instance of Content |
Object |
metadata()
Get the metadata property: The metadata. |
Json |
toJson(JsonWriter jsonWriter) |
String |
uri()
Get the uri property: The content link URI. |
void |
validate()
Validates the instance. |
Content |
withUri(String uri)
Set the uri property: The content link URI. |
Methods inherited from java.lang.Object
Constructor Details
ContentLink
public ContentLink()
Creates an instance of ContentLink class.
Method Details
contentHash
public ContentHash contentHash()
Get the contentHash property: The content hash.
Returns:
contentSize
public Long contentSize()
Get the contentSize property: The content size.
Returns:
contentVersion
public String contentVersion()
Get the contentVersion property: The content version.
Returns:
fromJson
public static ContentLink fromJson(JsonReader jsonReader)
Reads an instance of ContentLink from the JsonReader.
Parameters:
Returns:
Throws:
metadata
public Object metadata()
Get the metadata property: The metadata.
Returns:
toJson
uri
public String uri()
Get the uri property: The content link URI.
Returns:
validate
public void validate()
Validates the instance.
withUri
public ContentLink withUri(String uri)
Set the uri property: The content link URI.
Parameters:
Returns:
Applies to
Azure SDK for Java