Class RoleInstanceInner


  • public final class RoleInstanceInner
    extends Object
    The RoleInstance model.
    • Constructor Detail

      • RoleInstanceInner

        public RoleInstanceInner()
    • Method Detail

      • id

        public String id()
        Get the id property: Resource Id.
        Returns:
        the id value.
      • name

        public String name()
        Get the name property: Resource Name.
        Returns:
        the name value.
      • type

        public String type()
        Get the type property: Resource Type.
        Returns:
        the type value.
      • location

        public String location()
        Get the location property: Resource Location.
        Returns:
        the location value.
      • tags

        public Map<String,​String> tags()
        Get the tags property: Resource tags.
        Returns:
        the tags value.
      • sku

        public InstanceSku sku()
        Get the sku property: The sku property.
        Returns:
        the sku value.
      • withSku

        public RoleInstanceInner withSku​(InstanceSku sku)
        Set the sku property: The sku property.
        Parameters:
        sku - the sku value to set.
        Returns:
        the RoleInstanceInner object itself.
      • properties

        public RoleInstancePropertiesInner properties()
        Get the properties property: The properties property.
        Returns:
        the properties value.
      • withProperties

        public RoleInstanceInner withProperties​(RoleInstancePropertiesInner properties)
        Set the properties property: The properties property.
        Parameters:
        properties - the properties value to set.
        Returns:
        the RoleInstanceInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.