Class BaseImageTriggerUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.models.BaseImageTriggerUpdateParameters
-
public final class BaseImageTriggerUpdateParameters extends Object
The properties for updating base image dependency trigger.
-
-
Constructor Summary
Constructors Constructor Description BaseImageTriggerUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseImageTriggerTypebaseImageTriggerType()Get the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.Stringname()Get the name property: The name of the trigger.TriggerStatusstatus()Get the status property: The current status of trigger.StringupdateTriggerEndpoint()Get the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.UpdateTriggerPayloadTypeupdateTriggerPayloadType()Get the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.voidvalidate()Validates the instance.BaseImageTriggerUpdateParameterswithBaseImageTriggerType(BaseImageTriggerType baseImageTriggerType)Set the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.BaseImageTriggerUpdateParameterswithName(String name)Set the name property: The name of the trigger.BaseImageTriggerUpdateParameterswithStatus(TriggerStatus status)Set the status property: The current status of trigger.BaseImageTriggerUpdateParameterswithUpdateTriggerEndpoint(String updateTriggerEndpoint)Set the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.BaseImageTriggerUpdateParameterswithUpdateTriggerPayloadType(UpdateTriggerPayloadType updateTriggerPayloadType)Set the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.
-
-
-
Method Detail
-
baseImageTriggerType
public BaseImageTriggerType baseImageTriggerType()
Get the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.- Returns:
- the baseImageTriggerType value.
-
withBaseImageTriggerType
public BaseImageTriggerUpdateParameters withBaseImageTriggerType(BaseImageTriggerType baseImageTriggerType)
Set the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.- Parameters:
baseImageTriggerType- the baseImageTriggerType value to set.- Returns:
- the BaseImageTriggerUpdateParameters object itself.
-
updateTriggerEndpoint
public String updateTriggerEndpoint()
Get the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.- Returns:
- the updateTriggerEndpoint value.
-
withUpdateTriggerEndpoint
public BaseImageTriggerUpdateParameters withUpdateTriggerEndpoint(String updateTriggerEndpoint)
Set the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.- Parameters:
updateTriggerEndpoint- the updateTriggerEndpoint value to set.- Returns:
- the BaseImageTriggerUpdateParameters object itself.
-
updateTriggerPayloadType
public UpdateTriggerPayloadType updateTriggerPayloadType()
Get the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.- Returns:
- the updateTriggerPayloadType value.
-
withUpdateTriggerPayloadType
public BaseImageTriggerUpdateParameters 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 BaseImageTriggerUpdateParameters object itself.
-
status
public TriggerStatus status()
Get the status property: The current status of trigger.- Returns:
- the status value.
-
withStatus
public BaseImageTriggerUpdateParameters withStatus(TriggerStatus status)
Set the status property: The current status of trigger.- Parameters:
status- the status value to set.- Returns:
- the BaseImageTriggerUpdateParameters object itself.
-
name
public String name()
Get the name property: The name of the trigger.- Returns:
- the name value.
-
withName
public BaseImageTriggerUpdateParameters withName(String name)
Set the name property: The name of the trigger.- Parameters:
name- the name value to set.- Returns:
- the BaseImageTriggerUpdateParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-