Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.containerregistry; import com.fasterxml.jackson.annotation.JsonProperty;
The properties for updating base image dependency trigger.
/** * The properties for updating base image dependency trigger. */
public class BaseImageTriggerUpdateParameters {
The type of the auto trigger for base image dependency updates. Possible values include: 'All', 'Runtime'.
/** * The type of the auto trigger for base image dependency updates. Possible * values include: 'All', 'Runtime'. */
@JsonProperty(value = "baseImageTriggerType") private BaseImageTriggerType baseImageTriggerType;
The current status of trigger. Possible values include: 'Disabled', 'Enabled'.
/** * The current status of trigger. Possible values include: 'Disabled', * 'Enabled'. */
@JsonProperty(value = "status") private TriggerStatus status;
The name of the trigger.
/** * The name of the trigger. */
@JsonProperty(value = "name", required = true) private String name;
Get the type of the auto trigger for base image dependency updates. Possible values include: 'All', 'Runtime'.
Returns:the baseImageTriggerType value
/** * Get the type of the auto trigger for base image dependency updates. Possible values include: 'All', 'Runtime'. * * @return the baseImageTriggerType value */
public BaseImageTriggerType baseImageTriggerType() { return this.baseImageTriggerType; }
Set the type of the auto trigger for base image dependency updates. Possible values include: 'All', 'Runtime'.
Params:
  • baseImageTriggerType – the baseImageTriggerType value to set
Returns:the BaseImageTriggerUpdateParameters object itself.
/** * Set the type of the auto trigger for base image dependency updates. Possible values include: 'All', 'Runtime'. * * @param baseImageTriggerType the baseImageTriggerType value to set * @return the BaseImageTriggerUpdateParameters object itself. */
public BaseImageTriggerUpdateParameters withBaseImageTriggerType(BaseImageTriggerType baseImageTriggerType) { this.baseImageTriggerType = baseImageTriggerType; return this; }
Get the current status of trigger. Possible values include: 'Disabled', 'Enabled'.
Returns:the status value
/** * Get the current status of trigger. Possible values include: 'Disabled', 'Enabled'. * * @return the status value */
public TriggerStatus status() { return this.status; }
Set the current status of trigger. Possible values include: 'Disabled', 'Enabled'.
Params:
  • status – the status value to set
Returns:the BaseImageTriggerUpdateParameters object itself.
/** * Set the current status of trigger. Possible values include: 'Disabled', 'Enabled'. * * @param status the status value to set * @return the BaseImageTriggerUpdateParameters object itself. */
public BaseImageTriggerUpdateParameters withStatus(TriggerStatus status) { this.status = status; return this; }
Get the name of the trigger.
Returns:the name value
/** * Get the name of the trigger. * * @return the name value */
public String name() { return this.name; }
Set the name of the trigger.
Params:
  • name – the name value to set
Returns:the BaseImageTriggerUpdateParameters object itself.
/** * Set the name of the trigger. * * @param name the name value to set * @return the BaseImageTriggerUpdateParameters object itself. */
public BaseImageTriggerUpdateParameters withName(String name) { this.name = name; return this; } }