Class PlatformUpdateParameters
java.lang.Object
com.azure.resourcemanager.containerregistry.models.PlatformUpdateParameters
The properties for updating the platform configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PlatformUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the architecture property: The OS architecture.os()Get the os property: The operating system type required for the run.voidvalidate()Validates the instance.variant()Get the variant property: Variant of the CPU.withArchitecture(Architecture architecture) Set the architecture property: The OS architecture.Set the os property: The operating system type required for the run.withVariant(Variant variant) Set the variant property: Variant of the CPU.
-
Constructor Details
-
PlatformUpdateParameters
public PlatformUpdateParameters()Creates an instance of PlatformUpdateParameters class.
-
-
Method Details
-
os
Get the os property: The operating system type required for the run.- Returns:
- the os value.
-
withOs
Set the os property: The operating system type required for the run.- Parameters:
os- the os value to set.- Returns:
- the PlatformUpdateParameters object itself.
-
architecture
Get the architecture property: The OS architecture.- Returns:
- the architecture value.
-
withArchitecture
Set the architecture property: The OS architecture.- Parameters:
architecture- the architecture value to set.- Returns:
- the PlatformUpdateParameters object itself.
-
variant
Get the variant property: Variant of the CPU.- Returns:
- the variant value.
-
withVariant
Set the variant property: Variant of the CPU.- Parameters:
variant- the variant value to set.- Returns:
- the PlatformUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-