Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.containerregistry; import com.microsoft.azure.management.apigeneration.LangDefinition;
Defines an overriding value that overrides values passed in for RegistryFileTaskStep, RegistryFileTaskRunRequest, RegistryEncodedTaskStep, and RegistryEncodedTaskRunRequest.
/** * Defines an overriding value that overrides values passed in for RegistryFileTaskStep, RegistryFileTaskRunRequest, RegistryEncodedTaskStep, and RegistryEncodedTaskRunRequest. */
@LangDefinition public class OverridingValue { private final String value; private final boolean isSecret;
Constructor that defines an OverridingValue.
Params:
  • value – the value of the overriding value.
  • isSecret – whether the overriding value will be secret.
/** * Constructor that defines an OverridingValue. * * @param value the value of the overriding value. * @param isSecret whether the overriding value will be secret. */
public OverridingValue(String value, boolean isSecret) { this.value = value; this.isSecret = isSecret; }
Returns:the value of the overriding value.
/** * @return the value of the overriding value. */
public String value() { return this.value; }
Returns:whether the overriding value is secret or not.
/** * @return whether the overriding value is secret or not. */
public boolean isSecret() { return this.isSecret; } }