| Modifier and Type | Method | Description |
|---|---|---|
Target |
EventContent.target() |
Get the target of the event.
|
Target |
Target.withDigest(String digest) |
Set the digest of the content, as defined by the Registry V2 HTTP API Specification.
|
Target |
Target.withLength(Long length) |
Set the number of bytes of the content.
|
Target |
Target.withMediaType(String mediaType) |
Set the MIME type of the referenced object.
|
Target |
Target.withRepository(String repository) |
Set the repository name.
|
Target |
Target.withSize(Long size) |
Set the number of bytes of the content.
|
Target |
Target.withTag(String tag) |
Set the tag name.
|
Target |
Target.withUrl(String url) |
Set the direct URL to the content.
|
| Modifier and Type | Method | Description |
|---|---|---|
EventContent |
EventContent.withTarget(Target target) |
Set the target of the event.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/