VersionSpec Class

  • java.lang.Object
    • com.microsoft.azure.management.hdinsight.v2018_06_01_preview.VersionSpec

public class VersionSpec

The version properties.

Constructor Summary

Constructor Description
VersionSpec()

Method Summary

Modifier and Type Method and Description
java.util.Map<java.lang.String,java.lang.String> componentVersions()

Get the component version property.

java.lang.String displayName()

Get the display name.

java.lang.String friendlyName()

Get the friendly name.

java.lang.String isDefault()

Get whether or not the version is the default version.

VersionSpec withComponentVersions(Map<String,String> componentVersions)

Set the component version property.

VersionSpec withDisplayName(String displayName)

Set the display name.

VersionSpec withFriendlyName(String friendlyName)

Set the friendly name.

VersionSpec withIsDefault(String isDefault)

Set whether or not the version is the default version.

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

VersionSpec

public VersionSpec()

Method Details

componentVersions

public Map componentVersions()

Get the component version property.

Returns:

the componentVersions value

displayName

public String displayName()

Get the display name.

Returns:

the displayName value

friendlyName

public String friendlyName()

Get the friendly name.

Returns:

the friendlyName value

isDefault

public String isDefault()

Get whether or not the version is the default version.

Returns:

the isDefault value

withComponentVersions

public VersionSpec withComponentVersions(Map componentVersions)

Set the component version property.

Parameters:

componentVersions - the componentVersions value to set

Returns:

the VersionSpec object itself.

withDisplayName

public VersionSpec withDisplayName(String displayName)

Set the display name.

Parameters:

displayName - the displayName value to set

Returns:

the VersionSpec object itself.

withFriendlyName

public VersionSpec withFriendlyName(String friendlyName)

Set the friendly name.

Parameters:

friendlyName - the friendlyName value to set

Returns:

the VersionSpec object itself.

withIsDefault

public VersionSpec withIsDefault(String isDefault)

Set whether or not the version is the default version.

Parameters:

isDefault - the isDefault value to set

Returns:

the VersionSpec object itself.

Applies to