Class Target
java.lang.Object
com.microsoft.azure.management.containerregistry.Target
The target of the event.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
Targetpublic Target()
 
- 
- 
Method Details- 
mediaTypeGet the MIME type of the referenced object.- Returns:
- the mediaType value
 
- 
withMediaTypeSet the MIME type of the referenced object.- Parameters:
- mediaType- the mediaType value to set
- Returns:
- the Target object itself.
 
- 
sizeGet the number of bytes of the content. Same as Length field.- Returns:
- the size value
 
- 
withSizeSet the number of bytes of the content. Same as Length field.- Parameters:
- size- the size value to set
- Returns:
- the Target object itself.
 
- 
digestGet the digest of the content, as defined by the Registry V2 HTTP API Specification.- Returns:
- the digest value
 
- 
withDigestSet 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.
 
- 
lengthGet the number of bytes of the content. Same as Size field.- Returns:
- the length value
 
- 
withLengthSet the number of bytes of the content. Same as Size field.- Parameters:
- length- the length value to set
- Returns:
- the Target object itself.
 
- 
repositoryGet the repository name.- Returns:
- the repository value
 
- 
withRepositorySet the repository name.- Parameters:
- repository- the repository value to set
- Returns:
- the Target object itself.
 
- 
urlGet the direct URL to the content.- Returns:
- the url value
 
- 
withUrlSet the direct URL to the content.- Parameters:
- url- the url value to set
- Returns:
- the Target object itself.
 
- 
tagGet the tag name.- Returns:
- the tag value
 
- 
withTagSet the tag name.- Parameters:
- tag- the tag value to set
- Returns:
- the Target object itself.
 
 
-