PlatformUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. PlatformUpdateParameters
- com.
Implements
public final class PlatformUpdateParameters
implements JsonSerializable<PlatformUpdateParameters>
The properties for updating the platform configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| PlatformUpdateParameters() |
Creates an instance of Platform |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Architecture |
architecture()
Get the architecture property: The OS architecture. |
|
static
Platform |
fromJson(JsonReader jsonReader)
Reads an instance of Platform |
| OS |
os()
Get the os property: The operating system type required for the run. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Variant |
variant()
Get the variant property: Variant of the CPU. |
|
Platform |
withArchitecture(Architecture architecture)
Set the architecture property: The OS architecture. |
|
Platform |
withOs(OS os)
Set the os property: The operating system type required for the run. |
|
Platform |
withVariant(Variant variant)
Set the variant property: Variant of the CPU. |
Methods inherited from java.lang.Object
Constructor Details
PlatformUpdateParameters
public PlatformUpdateParameters()
Creates an instance of PlatformUpdateParameters class.
Method Details
architecture
public Architecture architecture()
Get the architecture property: The OS architecture.
Returns:
fromJson
public static PlatformUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of PlatformUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
os
public OS os()
Get the os property: The operating system type required for the run.
Returns:
toJson
validate
public void validate()
Validates the instance.
variant
public Variant variant()
Get the variant property: Variant of the CPU.
Returns:
withArchitecture
public PlatformUpdateParameters withArchitecture(Architecture architecture)
Set the architecture property: The OS architecture.
Parameters:
Returns:
withOs
public PlatformUpdateParameters withOs(OS os)
Set the os property: The operating system type required for the run.
Parameters:
Returns:
withVariant
public PlatformUpdateParameters withVariant(Variant variant)
Set the variant property: Variant of the CPU.
Parameters:
Returns: