Class RoleInstancePropertiesInner
- java.lang.Object
-
- com.azure.resourcemanager.compute.fluent.models.RoleInstancePropertiesInner
-
public final class RoleInstancePropertiesInner extends Object
The RoleInstanceProperties model.
-
-
Constructor Summary
Constructors Constructor Description RoleInstancePropertiesInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoleInstanceViewInnerinstanceView()Get the instanceView property: The instance view of the role instance.RoleInstanceNetworkProfilenetworkProfile()Get the networkProfile property: Describes the network profile for the role instance.voidvalidate()Validates the instance.RoleInstancePropertiesInnerwithInstanceView(RoleInstanceViewInner instanceView)Set the instanceView property: The instance view of the role instance.RoleInstancePropertiesInnerwithNetworkProfile(RoleInstanceNetworkProfile networkProfile)Set the networkProfile property: Describes the network profile for the role instance.
-
-
-
Method Detail
-
networkProfile
public RoleInstanceNetworkProfile networkProfile()
Get the networkProfile property: Describes the network profile for the role instance.- Returns:
- the networkProfile value.
-
withNetworkProfile
public RoleInstancePropertiesInner withNetworkProfile(RoleInstanceNetworkProfile networkProfile)
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
public RoleInstanceViewInner instanceView()
Get the instanceView property: The instance view of the role instance.- Returns:
- the instanceView value.
-
withInstanceView
public RoleInstancePropertiesInner withInstanceView(RoleInstanceViewInner instanceView)
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.
-
-