Partager via


RunUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.models.RunUpdateParameters

Implements

public final class RunUpdateParameters
implements JsonSerializable<RunUpdateParameters>

The set of run properties that can be updated.

Constructor Summary

Constructor Description
RunUpdateParameters()

Creates an instance of RunUpdateParameters class.

Method Summary

Modifier and Type Method and Description
static RunUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of RunUpdateParameters from the JsonReader.

Boolean isArchiveEnabled()

Get the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RunUpdateParameters withIsArchiveEnabled(Boolean isArchiveEnabled)

Set the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.

Methods inherited from java.lang.Object

Constructor Details

RunUpdateParameters

public RunUpdateParameters()

Creates an instance of RunUpdateParameters class.

Method Details

fromJson

public static RunUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of RunUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RunUpdateParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RunUpdateParameters.

isArchiveEnabled

public Boolean isArchiveEnabled()

Get the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.

Returns:

the isArchiveEnabled value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIsArchiveEnabled

public RunUpdateParameters withIsArchiveEnabled(Boolean isArchiveEnabled)

Set the isArchiveEnabled property: The value that indicates whether archiving is enabled or not.

Parameters:

isArchiveEnabled - the isArchiveEnabled value to set.

Returns:

the RunUpdateParameters object itself.

Applies to