Class VmmServerProperties
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.fluent.models.VmmServerProperties
-
public final class VmmServerProperties extends Object
Defines the resource properties.
-
-
Constructor Summary
Constructors Constructor Description VmmServerProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
connectionStatus()
Get the connectionStatus property: Gets or sets the connection status to the vmmServer.VmmServerPropertiesCredentials
credentials()
Get the credentials property: Credentials to connect to VMMServer.String
errorMessage()
Get the errorMessage property: Gets or sets any error message if connection to vmmServer is having any issue.String
fqdn()
Get the fqdn property: Fqdn is the hostname/ip of the vmmServer.Integer
port()
Get the port property: Port is the port on which the vmmServer is listening.String
provisioningState()
Get the provisioningState property: Gets or sets the provisioning state.String
uuid()
Get the uuid property: Unique ID of vmmServer.void
validate()
Validates the instance.String
version()
Get the version property: Version is the version of the vmmSever.VmmServerProperties
withCredentials(VmmServerPropertiesCredentials credentials)
Set the credentials property: Credentials to connect to VMMServer.VmmServerProperties
withFqdn(String fqdn)
Set the fqdn property: Fqdn is the hostname/ip of the vmmServer.VmmServerProperties
withPort(Integer port)
Set the port property: Port is the port on which the vmmServer is listening.
-
-
-
Method Detail
-
credentials
public VmmServerPropertiesCredentials credentials()
Get the credentials property: Credentials to connect to VMMServer.- Returns:
- the credentials value.
-
withCredentials
public VmmServerProperties withCredentials(VmmServerPropertiesCredentials credentials)
Set the credentials property: Credentials to connect to VMMServer.- Parameters:
credentials
- the credentials value to set.- Returns:
- the VmmServerProperties object itself.
-
fqdn
public String fqdn()
Get the fqdn property: Fqdn is the hostname/ip of the vmmServer.- Returns:
- the fqdn value.
-
withFqdn
public VmmServerProperties withFqdn(String fqdn)
Set the fqdn property: Fqdn is the hostname/ip of the vmmServer.- Parameters:
fqdn
- the fqdn value to set.- Returns:
- the VmmServerProperties object itself.
-
port
public Integer port()
Get the port property: Port is the port on which the vmmServer is listening.- Returns:
- the port value.
-
withPort
public VmmServerProperties withPort(Integer port)
Set the port property: Port is the port on which the vmmServer is listening.- Parameters:
port
- the port value to set.- Returns:
- the VmmServerProperties object itself.
-
connectionStatus
public String connectionStatus()
Get the connectionStatus property: Gets or sets the connection status to the vmmServer.- Returns:
- the connectionStatus value.
-
errorMessage
public String errorMessage()
Get the errorMessage property: Gets or sets any error message if connection to vmmServer is having any issue.- Returns:
- the errorMessage value.
-
uuid
public String uuid()
Get the uuid property: Unique ID of vmmServer.- Returns:
- the uuid value.
-
version
public String version()
Get the version property: Version is the version of the vmmSever.- Returns:
- the version value.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Gets or sets the provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-