Class RoleInstancePropertiesInner


  • public final class RoleInstancePropertiesInner
    extends Object
    The RoleInstanceProperties model.
    • Constructor Detail

      • RoleInstancePropertiesInner

        public RoleInstancePropertiesInner()
    • 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.