ImageUpdateTrigger Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. ImageUpdateTrigger
- com.
Implements
public final class ImageUpdateTrigger
implements JsonSerializable<ImageUpdateTrigger>
The image update trigger that caused a build.
Constructor Summary
Constructor | Description |
---|---|
ImageUpdateTrigger() |
Creates an instance of Image |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Image |
fromJson(JsonReader jsonReader)
Reads an instance of Image |
String |
id()
Get the id property: The unique ID of the trigger. |
List<Image |
images()
Get the images property: The list of image updates that caused the build. |
Offset |
timestamp()
Get the timestamp property: The timestamp when the image update happened. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Image |
withId(String id)
Set the id property: The unique ID of the trigger. |
Image |
withImages(List<ImageDescriptor> images)
Set the images property: The list of image updates that caused the build. |
Image |
withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The timestamp when the image update happened. |
Methods inherited from java.lang.Object
Constructor Details
ImageUpdateTrigger
public ImageUpdateTrigger()
Creates an instance of ImageUpdateTrigger class.
Method Details
fromJson
public static ImageUpdateTrigger fromJson(JsonReader jsonReader)
Reads an instance of ImageUpdateTrigger from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The unique ID of the trigger.
Returns:
images
public List
Get the images property: The list of image updates that caused the build.
Returns:
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: The timestamp when the image update happened.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public ImageUpdateTrigger withId(String id)
Set the id property: The unique ID of the trigger.
Parameters:
Returns:
withImages
public ImageUpdateTrigger withImages(List
Set the images property: The list of image updates that caused the build.
Parameters:
Returns:
withTimestamp
public ImageUpdateTrigger withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The timestamp when the image update happened.
Parameters:
Returns:
Applies to
Azure SDK for Java