Class BaseImageTrigger
java.lang.Object
com.azure.resourcemanager.containerregistry.models.BaseImageTrigger
The trigger based on base image dependency.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.name()Get the name property: The name of the trigger.status()Get the status property: The current status of trigger.Get the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.Get the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.voidvalidate()Validates the instance.withBaseImageTriggerType(BaseImageTriggerType baseImageTriggerType) Set the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.Set the name property: The name of the trigger.withStatus(TriggerStatus status) Set the status property: The current status of trigger.withUpdateTriggerEndpoint(String updateTriggerEndpoint) Set the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.withUpdateTriggerPayloadType(UpdateTriggerPayloadType updateTriggerPayloadType) Set the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.
-
Constructor Details
-
BaseImageTrigger
public BaseImageTrigger()Creates an instance of BaseImageTrigger class.
-
-
Method Details
-
baseImageTriggerType
Get the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.- Returns:
- the baseImageTriggerType value.
-
withBaseImageTriggerType
Set the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.- Parameters:
baseImageTriggerType- the baseImageTriggerType value to set.- Returns:
- the BaseImageTrigger object itself.
-
updateTriggerEndpoint
Get the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.- Returns:
- the updateTriggerEndpoint value.
-
withUpdateTriggerEndpoint
Set the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.- Parameters:
updateTriggerEndpoint- the updateTriggerEndpoint value to set.- Returns:
- the BaseImageTrigger object itself.
-
updateTriggerPayloadType
Get the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.- Returns:
- the updateTriggerPayloadType value.
-
withUpdateTriggerPayloadType
public BaseImageTrigger withUpdateTriggerPayloadType(UpdateTriggerPayloadType updateTriggerPayloadType) Set the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.- Parameters:
updateTriggerPayloadType- the updateTriggerPayloadType value to set.- Returns:
- the BaseImageTrigger object itself.
-
status
Get the status property: The current status of trigger.- Returns:
- the status value.
-
withStatus
Set the status property: The current status of trigger.- Parameters:
status- the status value to set.- Returns:
- the BaseImageTrigger object itself.
-
name
Get the name property: The name of the trigger.- Returns:
- the name value.
-
withName
Set the name property: The name of the trigger.- Parameters:
name- the name value to set.- Returns:
- the BaseImageTrigger object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-