VersionSpec Class
- java.
lang. Object - com.
microsoft. azure. management. hdinsight. v2018_06_01_preview. VersionSpec
- com.
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. |
Version |
withComponentVersions(Map<String,String> componentVersions)
Set the component version property. |
Version |
withDisplayName(String displayName)
Set the display name. |
Version |
withFriendlyName(String friendlyName)
Set the friendly name. |
Version |
withIsDefault(String isDefault)
Set whether or not the version is the default version. |
Methods inherited from java.lang.Object
Constructor Details
VersionSpec
public VersionSpec()
Method Details
componentVersions
public Map
Get the component version property.
Returns:
displayName
public String displayName()
Get the display name.
Returns:
friendlyName
public String friendlyName()
Get the friendly name.
Returns:
isDefault
public String isDefault()
Get whether or not the version is the default version.
Returns:
withComponentVersions
public VersionSpec withComponentVersions(Map
Set the component version property.
Parameters:
Returns:
withDisplayName
public VersionSpec withDisplayName(String displayName)
Set the display name.
Parameters:
Returns:
withFriendlyName
public VersionSpec withFriendlyName(String friendlyName)
Set the friendly name.
Parameters:
Returns:
withIsDefault
public VersionSpec withIsDefault(String isDefault)
Set whether or not the version is the default version.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for