Class RoleInstances


  • public final class RoleInstances
    extends Object
    Specifies a list of role instances from the cloud service.
    • Constructor Detail

      • RoleInstances

        public RoleInstances()
    • Method Detail

      • roleInstances

        public List<String> roleInstances()
        Get the roleInstances property: List of cloud service role instance names. Value of '*' will signify all role instances of the cloud service.
        Returns:
        the roleInstances value.
      • withRoleInstances

        public RoleInstances withRoleInstances​(List<String> roleInstances)
        Set the roleInstances property: List of cloud service role instance names. Value of '*' will signify all role instances of the cloud service.
        Parameters:
        roleInstances - the roleInstances value to set.
        Returns:
        the RoleInstances object itself.
      • validate

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