Class ContainerRegistryEventTarget
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerRegistryEventTarget
The target of the event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the digest property: The digest of the content, as defined by the Registry V2 HTTP API Specification.Get the length property: The number of bytes of the content.Get the mediaType property: The MIME type of the referenced object.Get the repository property: The repository name.getSize()
Get the size property: The number of bytes of the content.getTag()
Get the tag property: The tag name.getUrl()
Get the url property: The direct URL to the content.Set the digest property: The digest of the content, as defined by the Registry V2 HTTP API Specification.Set the length property: The number of bytes of the content.setMediaType
(String mediaType) Set the mediaType property: The MIME type of the referenced object.setRepository
(String repository) Set the repository property: The repository name.Set the size property: The number of bytes of the content.Set the tag property: The tag name.Set the url property: The direct URL to the content.
-
Constructor Details
-
ContainerRegistryEventTarget
public ContainerRegistryEventTarget()
-
-
Method Details
-
getMediaType
Get the mediaType property: The MIME type of the referenced object.- Returns:
- the mediaType value.
-
setMediaType
Set the mediaType property: The MIME type of the referenced object.- Parameters:
mediaType
- the mediaType value to set.- Returns:
- the ContainerRegistryEventTarget object itself.
-
getSize
Get the size property: The number of bytes of the content. Same as Length field.- Returns:
- the size value.
-
setSize
Set the size property: The number of bytes of the content. Same as Length field.- Parameters:
size
- the size value to set.- Returns:
- the ContainerRegistryEventTarget object itself.
-
getDigest
Get the digest property: The digest of the content, as defined by the Registry V2 HTTP API Specification.- Returns:
- the digest value.
-
setDigest
Set the digest property: The digest of the content, as defined by the Registry V2 HTTP API Specification.- Parameters:
digest
- the digest value to set.- Returns:
- the ContainerRegistryEventTarget object itself.
-
getLength
Get the length property: The number of bytes of the content. Same as Size field.- Returns:
- the length value.
-
setLength
Set the length property: The number of bytes of the content. Same as Size field.- Parameters:
length
- the length value to set.- Returns:
- the ContainerRegistryEventTarget object itself.
-
getRepository
Get the repository property: The repository name.- Returns:
- the repository value.
-
setRepository
Set the repository property: The repository name.- Parameters:
repository
- the repository value to set.- Returns:
- the ContainerRegistryEventTarget object itself.
-
getUrl
Get the url property: The direct URL to the content.- Returns:
- the url value.
-
setUrl
Set the url property: The direct URL to the content.- Parameters:
url
- the url value to set.- Returns:
- the ContainerRegistryEventTarget object itself.
-
getTag
Get the tag property: The tag name.- Returns:
- the tag value.
-
setTag
Set the tag property: The tag name.- Parameters:
tag
- the tag value to set.- Returns:
- the ContainerRegistryEventTarget object itself.
-