PlatformProperties Class

  • java.lang.Object
    • com.microsoft.azure.management.containerregistry.PlatformProperties

public class PlatformProperties

The platform properties against which the run has to happen.

Constructor Summary

Constructor Description
PlatformProperties()

Method Summary

Modifier and Type Method and Description
Architecture architecture()

Get the OS architecture.

OS os()

Get the operating system type required for the run.

Variant variant()

Get variant of the CPU.

PlatformProperties withArchitecture(Architecture architecture)

Set the OS architecture.

PlatformProperties withOs(OS os)

Set the operating system type required for the run.

PlatformProperties withVariant(Variant variant)

Set variant of the CPU.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

PlatformProperties

public PlatformProperties()

Method Details

architecture

public Architecture architecture()

Get the OS architecture. Possible values include: 'amd64', 'x86', 'arm'.

Returns:

the architecture value

os

public OS os()

Get the operating system type required for the run. Possible values include: 'Windows', 'Linux'.

Returns:

the os value

variant

public Variant variant()

Get variant of the CPU. Possible values include: 'v6', 'v7', 'v8'.

Returns:

the variant value

withArchitecture

public PlatformProperties withArchitecture(Architecture architecture)

Set the OS architecture. Possible values include: 'amd64', 'x86', 'arm'.

Parameters:

architecture - the architecture value to set

Returns:

the PlatformProperties object itself.

withOs

public PlatformProperties withOs(OS os)

Set the operating system type required for the run. Possible values include: 'Windows', 'Linux'.

Parameters:

os - the os value to set

Returns:

the PlatformProperties object itself.

withVariant

public PlatformProperties withVariant(Variant variant)

Set variant of the CPU. Possible values include: 'v6', 'v7', 'v8'.

Parameters:

variant - the variant value to set

Returns:

the PlatformProperties object itself.

Applies to