RunUpdateParameters.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.containerregistry.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
/** The set of run properties that can be updated. */
@Fluent
public final class RunUpdateParameters {
@JsonIgnore private final ClientLogger logger = new ClientLogger(RunUpdateParameters.class);
/*
* The value that indicates whether archiving is enabled or not.
*/
@JsonProperty(value = "isArchiveEnabled")
private Boolean isArchiveEnabled;
/**
* Get the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.
*
* @return the isArchiveEnabled value.
*/
public Boolean isArchiveEnabled() {
return this.isArchiveEnabled;
}
/**
* Set the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.
*
* @param isArchiveEnabled the isArchiveEnabled value to set.
* @return the RunUpdateParameters object itself.
*/
public RunUpdateParameters withIsArchiveEnabled(Boolean isArchiveEnabled) {
this.isArchiveEnabled = isArchiveEnabled;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}