BaseImageTrigger Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. BaseImageTrigger
- com.
Implements
public final class BaseImageTrigger
implements JsonSerializable<BaseImageTrigger>
The trigger based on base image dependency.
Constructor Summary
Constructor | Description |
---|---|
BaseImageTrigger() |
Creates an instance of Base |
Method Summary
Modifier and Type | Method and Description |
---|---|
Base |
baseImageTriggerType()
Get the base |
static
Base |
fromJson(JsonReader jsonReader)
Reads an instance of Base |
String |
name()
Get the name property: The name of the trigger. |
Trigger |
status()
Get the status property: The current status of trigger. |
Json |
toJson(JsonWriter jsonWriter) |
String |
updateTriggerEndpoint()
Get the update |
Update |
updateTriggerPayloadType()
Get the update |
void |
validate()
Validates the instance. |
Base |
withBaseImageTriggerType(BaseImageTriggerType baseImageTriggerType)
Set the base |
Base |
withName(String name)
Set the name property: The name of the trigger. |
Base |
withStatus(TriggerStatus status)
Set the status property: The current status of trigger. |
Base |
withUpdateTriggerEndpoint(String updateTriggerEndpoint)
Set the update |
Base |
withUpdateTriggerPayloadType(UpdateTriggerPayloadType updateTriggerPayloadType)
Set the update |
Methods inherited from java.lang.Object
Constructor Details
BaseImageTrigger
public BaseImageTrigger()
Creates an instance of BaseImageTrigger class.
Method Details
baseImageTriggerType
public BaseImageTriggerType baseImageTriggerType()
Get the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.
Returns:
fromJson
public static BaseImageTrigger fromJson(JsonReader jsonReader)
Reads an instance of BaseImageTrigger from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the trigger.
Returns:
status
public TriggerStatus status()
Get the status property: The current status of trigger.
Returns:
toJson
updateTriggerEndpoint
public String updateTriggerEndpoint()
Get the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.
Returns:
updateTriggerPayloadType
public UpdateTriggerPayloadType updateTriggerPayloadType()
Get the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.
Returns:
validate
public void validate()
Validates the instance.
withBaseImageTriggerType
public BaseImageTrigger withBaseImageTriggerType(BaseImageTriggerType baseImageTriggerType)
Set the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.
Parameters:
Returns:
withName
public BaseImageTrigger withName(String name)
Set the name property: The name of the trigger.
Parameters:
Returns:
withStatus
public BaseImageTrigger withStatus(TriggerStatus status)
Set the status property: The current status of trigger.
Parameters:
Returns:
withUpdateTriggerEndpoint
public BaseImageTrigger withUpdateTriggerEndpoint(String updateTriggerEndpoint)
Set the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.
Parameters:
Returns:
withUpdateTriggerPayloadType
public BaseImageTrigger withUpdateTriggerPayloadType(UpdateTriggerPayloadType updateTriggerPayloadType)
Set the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.
Parameters:
Returns:
Applies to
Azure SDK for Java