Class RoleInstancePropertiesInner
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.RoleInstancePropertiesInner
Role instance properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RoleInstancePropertiesInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the instanceView property: The instance view of the role instance.Get the networkProfile property: Describes the network profile for the role instance.voidvalidate()Validates the instance.withInstanceView(RoleInstanceViewInner instanceView) Set the instanceView property: The instance view of the role instance.withNetworkProfile(RoleInstanceNetworkProfile networkProfile) Set the networkProfile property: Describes the network profile for the role instance.
-
Constructor Details
-
RoleInstancePropertiesInner
public RoleInstancePropertiesInner()Creates an instance of RoleInstancePropertiesInner class.
-
-
Method Details
-
networkProfile
Get the networkProfile property: Describes the network profile for the role instance.- Returns:
- the networkProfile value.
-
withNetworkProfile
Set the networkProfile property: Describes the network profile for the role instance.- Parameters:
networkProfile- the networkProfile value to set.- Returns:
- the RoleInstancePropertiesInner object itself.
-
instanceView
Get the instanceView property: The instance view of the role instance.- Returns:
- the instanceView value.
-
withInstanceView
Set the instanceView property: The instance view of the role instance.- Parameters:
instanceView- the instanceView value to set.- Returns:
- the RoleInstancePropertiesInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-