Class Target
java.lang.Object
com.microsoft.azure.management.containerregistry.Target
The target of the event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondigest()
Get the digest of the content, as defined by the Registry V2 HTTP API Specification.length()
Get the number of bytes of the content.Get the MIME type of the referenced object.Get the repository name.size()
Get the number of bytes of the content.tag()
Get the tag name.url()
Get the direct URL to the content.withDigest
(String digest) Set the digest of the content, as defined by the Registry V2 HTTP API Specification.withLength
(Long length) Set the number of bytes of the content.withMediaType
(String mediaType) Set the MIME type of the referenced object.withRepository
(String repository) Set the repository name.Set the number of bytes of the content.Set the tag name.Set the direct URL to the content.
-
Constructor Details
-
Target
public Target()
-
-
Method Details
-
mediaType
Get the MIME type of the referenced object.- Returns:
- the mediaType value
-
withMediaType
Set the MIME type of the referenced object.- Parameters:
mediaType
- the mediaType value to set- Returns:
- the Target object itself.
-
size
Get the number of bytes of the content. Same as Length field.- Returns:
- the size value
-
withSize
Set the number of bytes of the content. Same as Length field.- Parameters:
size
- the size value to set- Returns:
- the Target object itself.
-
digest
Get the digest of the content, as defined by the Registry V2 HTTP API Specification.- Returns:
- the digest value
-
withDigest
Set the digest of the content, as defined by the Registry V2 HTTP API Specification.- Parameters:
digest
- the digest value to set- Returns:
- the Target object itself.
-
length
Get the number of bytes of the content. Same as Size field.- Returns:
- the length value
-
withLength
Set the number of bytes of the content. Same as Size field.- Parameters:
length
- the length value to set- Returns:
- the Target object itself.
-
repository
Get the repository name.- Returns:
- the repository value
-
withRepository
Set the repository name.- Parameters:
repository
- the repository value to set- Returns:
- the Target object itself.
-
url
Get the direct URL to the content.- Returns:
- the url value
-
withUrl
Set the direct URL to the content.- Parameters:
url
- the url value to set- Returns:
- the Target object itself.
-
tag
Get the tag name.- Returns:
- the tag value
-
withTag
Set the tag name.- Parameters:
tag
- the tag value to set- Returns:
- the Target object itself.
-